diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2014-06-08 06:23:20 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2014-06-08 06:23:20 +0000 |
commit | 76a1a4c201da08ad23c9e78d7584bab3ac0e0f7d (patch) | |
tree | a5c8e4a85467d11705b939399f939c6c26c15c2c /net-mgmt/confregdecode | |
parent | b6a1b5e25200f10e52cc40d0303c74c643073402 (diff) | |
download | ports-76a1a4c201da08ad23c9e78d7584bab3ac0e0f7d.tar.gz ports-76a1a4c201da08ad23c9e78d7584bab3ac0e0f7d.zip |
Notes
Diffstat (limited to 'net-mgmt/confregdecode')
-rw-r--r-- | net-mgmt/confregdecode/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/net-mgmt/confregdecode/Makefile b/net-mgmt/confregdecode/Makefile index fc0edd56c4fd..55f9c017f63a 100644 --- a/net-mgmt/confregdecode/Makefile +++ b/net-mgmt/confregdecode/Makefile @@ -17,17 +17,20 @@ MAKE_ENV= JAVAC="${JAVAC}" JAR="${JAR}" DATADIR= ${JAVASHAREDIR}/${PORTNAME} SUB_FILES= confregdecode -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${DATADIR} - ${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${STAGEDIR}${PREFIX}/bin post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in README.txt ConfregDecode.html - ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .endif |