diff options
author | delphij <delphij@FreeBSD.org> | 2008-05-20 07:10:34 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-05-20 07:10:34 +0800 |
commit | b307e22f3e7636212c98745f6341119d5fa20270 (patch) | |
tree | 03e43e8bef77f583d12fc5aa5c0e2f7175f635ec /devel | |
parent | 0cfc36b7cdfa2cd4c9627c5a5e0ada232454a9f7 (diff) | |
download | freebsd-ports-gnome-b307e22f3e7636212c98745f6341119d5fa20270.tar.gz freebsd-ports-gnome-b307e22f3e7636212c98745f6341119d5fa20270.tar.zst freebsd-ports-gnome-b307e22f3e7636212c98745f6341119d5fa20270.zip |
Fix handling of NOPORTDOCS.
Reported by: itetcu
Diffstat (limited to 'devel')
-rw-r--r-- | devel/vstr/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/vstr/Makefile b/devel/vstr/Makefile index 0609dbebcbc4..d9bda1b29ff0 100644 --- a/devel/vstr/Makefile +++ b/devel/vstr/Makefile @@ -26,11 +26,16 @@ USE_LDCONFIG= yes MAN3= vstr.3 vstr_const.3 -.pre-configure: +post-patch: .if defined(NOPORTDOCS) ${REINPLACE_CMD} -e 's| Documentation||' ${WRKSRC}/Makefile.in .endif +post-install: +.if defined(NOPORTDOCS) + cd ${WRKSRC}/Documentation && ${GMAKE} install-man3 +.endif + regression-test: (cd ${WRKSRC} && \ ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) |