aboutsummaryrefslogtreecommitdiff
path: root/x11/vdesk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-15 00:02:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-15 00:02:59 +0000
commit0608e517a6d08f397e1a4c9195f6c451abf67bc0 (patch)
treeb2d04fb2e8c83f6653e60347bf6ad10ab14ba2ba /x11/vdesk
parent6fbff9d8da5f697bf20dd4e9a07fb83463ecd15b (diff)
downloadports-0608e517a6d08f397e1a4c9195f6c451abf67bc0.tar.gz
ports-0608e517a6d08f397e1a4c9195f6c451abf67bc0.zip
Support stage
Notes
Notes: svn path=/head/; revision=336501
Diffstat (limited to 'x11/vdesk')
-rw-r--r--x11/vdesk/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/x11/vdesk/Makefile b/x11/vdesk/Makefile
index 5b9201a692e9..5a4040ab7e1d 100644
--- a/x11/vdesk/Makefile
+++ b/x11/vdesk/Makefile
@@ -10,27 +10,20 @@ MASTER_SITES= http://offog.org/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line utility for setting up and using virtual desktops
-DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
+OPTIONS_DEFINE= DOCS
+
+PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
PLIST_DIRS= share/doc/vdesk
PLIST_FILES= bin/vdesk
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS}
-.for ii in ${DOCS}
-PLIST_FILES+= share/doc/vdesk/${ii}
-.endfor
-.endif
USE_AUTOTOOLS= autoconf
USE_XORG= x11
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for ii in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for ii in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>