diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 06:54:36 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 06:54:36 +0000 |
commit | 922692b7d2f68b6c7ca8d4a351bebc8aae724afe (patch) | |
tree | 9b8cb70f4d799b7585aebc3faf2abcfc66efdd5a /textproc/sagasu | |
parent | 078d8543e9b8921b76b0c9cb2151926bdfef036d (diff) | |
download | ports-922692b7d2f68b6c7ca8d4a351bebc8aae724afe.tar.gz ports-922692b7d2f68b6c7ca8d4a351bebc8aae724afe.zip |
Notes
Diffstat (limited to 'textproc/sagasu')
-rw-r--r-- | textproc/sagasu/Makefile | 11 | ||||
-rw-r--r-- | textproc/sagasu/pkg-plist | 1 |
2 files changed, 7 insertions, 5 deletions
diff --git a/textproc/sagasu/Makefile b/textproc/sagasu/Makefile index 7b396c6fb4da..6900fc0ac8ae 100644 --- a/textproc/sagasu/Makefile +++ b/textproc/sagasu/Makefile @@ -18,9 +18,10 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN1= sagasu.1 +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in @@ -29,10 +30,10 @@ post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/util.h post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS INSTALL NEWS README THANKS TODO - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif diff --git a/textproc/sagasu/pkg-plist b/textproc/sagasu/pkg-plist index a6df4edd7bd6..7ce5fb056ff1 100644 --- a/textproc/sagasu/pkg-plist +++ b/textproc/sagasu/pkg-plist @@ -1,4 +1,5 @@ bin/sagasu +man/man1/sagasu.1.gz share/applications/sagasu.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/INSTALL |