mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-21 21:25:50 +00:00
2464c55c6e
Instead of using the enclosing source tree, use automake's distdir target to copy a clean set of sources into WRKSRC. This protects us from a polluted tree, prevents us from polluting it in turn, and allows the ports framework to perform necessary substitutions in libtool and the like.
33 lines
762 B
Makefile
33 lines
762 B
Makefile
# $FreeBSD: portlint$
|
|
|
|
PORTNAME= @PACKAGE_TARNAME@
|
|
PORTVERSION= @PACKAGE_VERSION@
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= #
|
|
DISTFILES= #
|
|
|
|
MAINTAINER= @PACKAGE_BUGREPORT@
|
|
COMMENT= Collection of cryptographic and security-related libraries
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake libtool pkgconfig
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
|
|
DESCR= ${WRKDIR}/pkg-descr
|
|
|
|
do-extract:
|
|
(cd @abs_top_srcdir@ && \
|
|
${GMAKE} distdir && ${MV} ${PKGNAME} ${WRKDIR})
|
|
(${CAT} ${WRKSRC}/README && ${ECHO} && \
|
|
${ECHO} "WWW: http://cryb.to/") >${DESCR}
|
|
|
|
post-stage:
|
|
(cd ${STAGEDIR} && \
|
|
${FIND} -s . -type f -or -type l | cut -c 2- | \
|
|
${SED} -E '/\/man\//s/([0-9])$$/\1.gz/') >>${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|