svn commit: r329651 - head/textproc/gsed
Johan van Selst
johans at FreeBSD.org
Mon Oct 7 05:02:19 UTC 2013
Author: johans
Date: Mon Oct 7 05:02:18 2013
New Revision: 329651
URL: http://svnweb.freebsd.org/changeset/ports/329651
Log:
Enable stage support
Modified:
head/textproc/gsed/Makefile
head/textproc/gsed/pkg-plist
Modified: head/textproc/gsed/Makefile
==============================================================================
--- head/textproc/gsed/Makefile Mon Oct 7 04:51:52 2013 (r329650)
+++ head/textproc/gsed/Makefile Mon Oct 7 05:02:18 2013 (r329651)
@@ -13,20 +13,17 @@ COMMENT= The GNU stream editor
GNU_CONFIGURE= yes
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
-USES= charsetfix
+USES= charsetfix gmake
PATCH_SUBDIRS= . doc lib sed
DATADIR= ${PREFIX}/share/${PKGBASE}
SAMP_FILES= binary*.sed dc.sed
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
-USE_GMAKE= yes
INFO= sed
-MAN1= gsed.1
OPTIONS_DEFINE= NLS DOCS
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -50,14 +47,14 @@ post-configure:
.endfor
post-install:
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${SAMP_FILES}
- @${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
Modified: head/textproc/gsed/pkg-plist
==============================================================================
--- head/textproc/gsed/pkg-plist Mon Oct 7 04:51:52 2013 (r329650)
+++ head/textproc/gsed/pkg-plist Mon Oct 7 05:02:18 2013 (r329651)
@@ -1,5 +1,6 @@
@comment $FreeBSD$
bin/gsed
+man/man1/gsed.1.gz
%%EXAMPLESDIR%%/binary.sed
%%EXAMPLESDIR%%/binary2.sed
%%EXAMPLESDIR%%/binary3.sed
More information about the svn-ports-all
mailing list