aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-01-22 22:11:59 +0800
committertrevor <trevor@FreeBSD.org>2004-01-22 22:11:59 +0800
commitb3cf4a6f501cad262705cc1ca59edaa3de7a3de6 (patch)
tree590e9e77449c5b8f89af65c09820423677a92571 /x11
parent3050c15d1cf52d120a8b61d8be8076d181580e35 (diff)
downloadfreebsd-ports-gnome-b3cf4a6f501cad262705cc1ca59edaa3de7a3de6.tar.gz
freebsd-ports-gnome-b3cf4a6f501cad262705cc1ca59edaa3de7a3de6.tar.zst
freebsd-ports-gnome-b3cf4a6f501cad262705cc1ca59edaa3de7a3de6.zip
Use PLIST_DIRS and PLIST_FILES macros.
Diffstat (limited to 'x11')
-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)