diff options
author | Johan van Selst <johans@FreeBSD.org> | 2013-10-07 05:02:18 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2013-10-07 05:02:18 +0000 |
commit | 44a21f698b509cd2a8543590bd471a775adb63f9 (patch) | |
tree | 9ae2ade0ce53c58bd235f853e3a46c307d005662 /textproc/gsed/Makefile | |
parent | 8c3fa7d672c5f3b4e2ba34cb811a492f48ec1ef6 (diff) | |
download | ports-44a21f698b509cd2a8543590bd471a775adb63f9.tar.gz ports-44a21f698b509cd2a8543590bd471a775adb63f9.zip |
Notes
Diffstat (limited to 'textproc/gsed/Makefile')
-rw-r--r-- | textproc/gsed/Makefile | 15 |
1 files changed, 6 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 |