aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gengetopt/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-15 13:58:49 +0800
committerpetef <petef@FreeBSD.org>2001-11-15 13:58:49 +0800
commitc2397384bb105c7bd4d8b7ab0308fd517b5925bc (patch)
treee4e347d7e8104b26cf1101a0be1a10ff66b2f7fb /devel/gengetopt/Makefile
parente016c5f655acf008917d4a1a7dc739277b572121 (diff)
downloadfreebsd-ports-gnome-c2397384bb105c7bd4d8b7ab0308fd517b5925bc.tar.gz
freebsd-ports-gnome-c2397384bb105c7bd4d8b7ab0308fd517b5925bc.tar.zst
freebsd-ports-gnome-c2397384bb105c7bd4d8b7ab0308fd517b5925bc.zip
- add NOPORTDOCS support & install documentation
- minor indentation fix in pkg-descr - add @comment $FreeBSD$ to pkg-plist & sort PR: 31543 Submitted by: maintainer
Diffstat (limited to 'devel/gengetopt/Makefile')
-rw-r--r--devel/gengetopt/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/gengetopt/Makefile b/devel/gengetopt/Makefile
index d51d06971ba6..6fc63059424f 100644
--- a/devel/gengetopt/Makefile
+++ b/devel/gengetopt/Makefile
@@ -19,4 +19,12 @@ USE_GMAKE= yes
MAN1= gengetopt.1
+.if defined(NOPORTDOCS)
+do-install:
+ @cd ${INSTALL_WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install
+ @cd ${INSTALL_WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-man
+.endif
+
.include <bsd.port.mk>