aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-27 10:48:12 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-27 10:48:12 +0800
commit9db0fa084901658679c16c9520eb7417d544f8df (patch)
tree3377485b0f60c1ed7973ff7e721077681eed6188 /sysutils
parent0328b1b13cbb4ccdc77dcf8871ee5a1f4583d0db (diff)
downloadfreebsd-ports-gnome-9db0fa084901658679c16c9520eb7417d544f8df.tar.gz
freebsd-ports-gnome-9db0fa084901658679c16c9520eb7417d544f8df.tar.zst
freebsd-ports-gnome-9db0fa084901658679c16c9520eb7417d544f8df.zip
1: Stagify.
2: switch to options helper. Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/jailrc/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/jailrc/Makefile b/sysutils/jailrc/Makefile
index 419ad46c50a2..d82523b77ef8 100644
--- a/sysutils/jailrc/Makefile
+++ b/sysutils/jailrc/Makefile
@@ -12,16 +12,16 @@ COMMENT= Improved jail startup/shutdown script
NO_BUILD= yes
NO_INSTALL= yes
-
USE_RC_SUBR= jailrc
-
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${FILESDIR}/README ${DOCSDIR}/README
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${FILESDIR}/README ${STAGEDIR}${DOCSDIR}/README
.endif
.include <bsd.port.mk>