aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-17 23:48:01 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-17 23:48:01 +0000
commit7077d3308beb967e188ca4b72c82f935e80f9821 (patch)
tree52e42dac631812481cbe2f1415ead443f237a8a0
parent285b0b41c29f9742e066190265d7075db3975628 (diff)
downloadports-7077d3308beb967e188ca4b72c82f935e80f9821.tar.gz
ports-7077d3308beb967e188ca4b72c82f935e80f9821.zip
Notes
-rw-r--r--x11/vdesk/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/vdesk/Makefile b/x11/vdesk/Makefile
index ef973f48a07c..6e9d3ca62f9c 100644
--- a/x11/vdesk/Makefile
+++ b/x11/vdesk/Makefile
@@ -13,7 +13,9 @@ COMMENT= Command-line utility for setting up and using virtual desktops
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
PLIST_DIRS= share/doc/vdesk
PLIST_FILES= bin/vdesk
-.if !defined(NOPORTDOCS)
+
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
.for ii in ${DOCS}
PLIST_FILES+= share/doc/vdesk/${ii}
.endfor
@@ -21,13 +23,9 @@ PLIST_FILES+= share/doc/vdesk/${ii}
USE_AUTOTOOLS= autoconf
USE_XORG= x11
-post-extract:
-# Avoid having to read this lengthy file.
- ${RM} ${WRKSRC}/configure
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for ii in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}