aboutsummaryrefslogtreecommitdiff
path: root/x11/vdesk
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-01-22 14:11:59 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-01-22 14:11:59 +0000
commit450832724d24489cc7fd05b1bdb4fd21b849ff18 (patch)
tree7d203358d7f90c7bc3c0b4c24f604e912cbd8711 /x11/vdesk
parentdf164aa728f0b61de19c7548a57bb43d4bb2bb3b (diff)
downloadports-450832724d24489cc7fd05b1bdb4fd21b849ff18.tar.gz
ports-450832724d24489cc7fd05b1bdb4fd21b849ff18.zip
Use PLIST_DIRS and PLIST_FILES macros.
Notes
Notes: svn path=/head/; revision=98805
Diffstat (limited to 'x11/vdesk')
-rw-r--r--x11/vdesk/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/x11/vdesk/Makefile b/x11/vdesk/Makefile
index 663ef7452afb..f984c64ef8eb 100644
--- a/x11/vdesk/Makefile
+++ b/x11/vdesk/Makefile
@@ -14,7 +14,13 @@ MAINTAINER= trevor@FreeBSD.org
COMMENT= Command-line utility for setting up and using virtual desktops
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
-PLIST= ${WRKDIR}/pkg-plist
+PLIST_DIRS= share/doc/vdesk
+PLIST_FILES= bin/vdesk
+.if !defined(NOPORTDOCS)
+.for ii in ${DOCS}
+PLIST_FILES+= share/doc/vdesk/${ii}
+.endfor
+.endif
USE_AUTOCONF= yes
USE_X_PREFIX= yes
WANT_AUTOCONF_VER= 257
@@ -23,15 +29,6 @@ post-extract:
# Avoid having to read this lengthy file.
${RM} ${WRKSRC}/configure
-pre-install:
- ${ECHO_CMD} bin/vdesk > ${PLIST}
-.if !defined(NOPORTDOCS)
-.for ii in ${DOCS}
- ${ECHO_CMD} share/doc/vdesk/${ii} >> ${PLIST}
-.endfor
- ${ECHO_CMD} @dirrm share/doc/vdesk >> ${PLIST}
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${PREFIX}/bin
.if !defined(NOPORTDOCS)