diff options
-rw-r--r-- | textproc/gsed/Makefile | 15 | ||||
-rw-r--r-- | textproc/gsed/pkg-plist | 1 |
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 |