svn commit: r334157 - head/textproc/chpp
Boris Samorodov
bsam at FreeBSD.org
Mon Nov 18 08:09:05 UTC 2013
Author: bsam
Date: Mon Nov 18 08:09:05 2013
New Revision: 334157
URL: http://svnweb.freebsd.org/changeset/ports/334157
Log:
. use new LIB_DEPENDS syntax;
. USE_GMAKE -> USES=gmake;
. incorporate options;
. unmute EXAMPLES installation;
. support STAGE.
Modified:
head/textproc/chpp/Makefile
Modified: head/textproc/chpp/Makefile
==============================================================================
--- head/textproc/chpp/Makefile Mon Nov 18 07:53:06 2013 (r334156)
+++ head/textproc/chpp/Makefile Mon Nov 18 08:09:05 2013 (r334157)
@@ -13,9 +13,9 @@ COMMENT= Non-intrusive full-featured tex
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>
More information about the svn-ports-head
mailing list