1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

. use new LIB_DEPENDS syntax;

. USE_GMAKE -> USES=gmake;
. incorporate options;
. unmute EXAMPLES installation;
. support STAGE.
This commit is contained in:
Boris Samorodov 2013-11-18 08:09:05 +00:00
parent 16195e50a8
commit 6d9889cee5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334157

View File

@ -13,9 +13,9 @@ COMMENT= Non-intrusive full-featured text preprocessor
LICENSE= GPLv2
LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc
LIB_DEPENDS= libgc.so:${PORTSDIR}/devel/boehm-gc
USE_GMAKE= yes
USES= gmake
USE_AUTOTOOLS= autoheader aclocal automake autoconf
AUTOMAKE_ARGS= --add-missing --copy --force-missing
CONFIGURE_ARGS= --libdir=${PREFIX}/share
@ -25,7 +25,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
INFO= chpp
NO_STAGE= yes
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386" && ${ARCH} != "amd64"
@ -49,15 +50,11 @@ post-patch:
.endfor
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in AUTHORS NEWS README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.post.mk>