aboutsummaryrefslogtreecommitdiff
path: root/textproc/gsed
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-10-07 05:02:18 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-10-07 05:02:18 +0000
commit44a21f698b509cd2a8543590bd471a775adb63f9 (patch)
tree9ae2ade0ce53c58bd235f853e3a46c307d005662 /textproc/gsed
parent8c3fa7d672c5f3b4e2ba34cb811a492f48ec1ef6 (diff)
downloadports-44a21f698b509cd2a8543590bd471a775adb63f9.tar.gz
ports-44a21f698b509cd2a8543590bd471a775adb63f9.zip
Enable stage support
Notes
Notes: svn path=/head/; revision=329651
Diffstat (limited to 'textproc/gsed')
-rw-r--r--textproc/gsed/Makefile15
-rw-r--r--textproc/gsed/pkg-plist1
2 files changed, 7 insertions, 9 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index c3360e4139bf..5941edf088c2 100644
--- a/textproc/gsed/Makefile
+++ b/textproc/gsed/Makefile
@@ -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
diff --git a/textproc/gsed/pkg-plist b/textproc/gsed/pkg-plist
index 7ea5ba3b44ac..9a2330dc5150 100644
--- a/textproc/gsed/pkg-plist
+++ b/textproc/gsed/pkg-plist
@@ -1,5 +1,6 @@
@comment $FreeBSD$
bin/gsed
+man/man1/gsed.1.gz
%%EXAMPLESDIR%%/binary.sed
%%EXAMPLESDIR%%/binary2.sed
%%EXAMPLESDIR%%/binary3.sed