aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-11 05:26:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-11 05:26:12 +0800
commitbf29341c55991d2225388d16a53ccd99196dad99 (patch)
treee6f5d8d987763442deab9121beeccf35aac5f679
parent307e0db772509d1d1e04951c3b2704e71d6d12f2 (diff)
downloadfreebsd-ports-gnome-bf29341c55991d2225388d16a53ccd99196dad99.tar.gz
freebsd-ports-gnome-bf29341c55991d2225388d16a53ccd99196dad99.tar.zst
freebsd-ports-gnome-bf29341c55991d2225388d16a53ccd99196dad99.zip
- Switch to options helpers
- Don't install useless and empty docs
-rw-r--r--x11/vdesk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/vdesk/Makefile b/x11/vdesk/Makefile
index 7d10e1600080..8f683ff7a6a0 100644
--- a/x11/vdesk/Makefile
+++ b/x11/vdesk/Makefile
@@ -17,13 +17,15 @@ USES= autoreconf
GNU_CONFIGURE= yes
USE_XORG= x11
-PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
+PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES= bin/vdesk
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}