diff options
author | bapt <bapt@FreeBSD.org> | 2013-12-15 08:02:59 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-12-15 08:02:59 +0800 |
commit | 60b1ed4602fd4fb97d9b4731f4780bfdeae86c5f (patch) | |
tree | b2d04fb2e8c83f6653e60347bf6ad10ab14ba2ba | |
parent | 828833476b3e6e0dd238d2a3523b05fe8ce8535a (diff) | |
download | freebsd-ports-gnome-60b1ed4602fd4fb97d9b4731f4780bfdeae86c5f.tar.gz freebsd-ports-gnome-60b1ed4602fd4fb97d9b4731f4780bfdeae86c5f.tar.zst freebsd-ports-gnome-60b1ed4602fd4fb97d9b4731f4780bfdeae86c5f.zip |
Support stage
-rw-r--r-- | x11/vdesk/Makefile | 21 |
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> |