diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-04-06 01:28:14 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-04-06 01:28:14 +0800 |
commit | 4cb7edfaf3fc13898560df7921756a7c9d6c62dc (patch) | |
tree | f23812a5f87e9f377b7ea1dabde067d1e5be2197 | |
parent | 0ea6533cbc699e44607668bb0363d6aeca818cd2 (diff) | |
download | freebsd-ports-gnome-4cb7edfaf3fc13898560df7921756a7c9d6c62dc.tar.gz freebsd-ports-gnome-4cb7edfaf3fc13898560df7921756a7c9d6c62dc.tar.zst freebsd-ports-gnome-4cb7edfaf3fc13898560df7921756a7c9d6c62dc.zip |
- fix plist with -DNOPORTDOCS
- do alll patching in post-patch
Prompted by: QAT QA run
Approved by: maintainer timeout on QATMail
-rw-r--r-- | sysutils/jailadmin/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/jailadmin/Makefile b/sysutils/jailadmin/Makefile index 3f8cf8f8f5a0..2d1267900af0 100644 --- a/sysutils/jailadmin/Makefile +++ b/sysutils/jailadmin/Makefile @@ -17,7 +17,9 @@ COMMENT= A system for managing a set of named jails USE_PERL5= yes +.ifndef NOPORTDOCS PORTDOCS= INSTALL README +.endif .include <bsd.port.pre.mk> @@ -39,7 +41,11 @@ pre-everything:: @${ECHO} "WITH_SNMP install the additional SNMP management components" @${ECHO} -pre-install: +#pre-install: +post-patch: @${REINPLACE_CMD} -e "s#^SITEPERLDIR=.*#SITEPERLDIR= ${SITE_PERL}#" ${WRKSRC}/Makefile +.ifdef NOPORTDOCS + @${REINPLACE_CMD} -e '/share\/doc/s/^[[:blank:]]/#&/' ${WRKSRC}/Makefile +.endif .include <bsd.port.post.mk> |