aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-01-27 11:58:04 +0800
committertrevor <trevor@FreeBSD.org>2004-01-27 11:58:04 +0800
commit9006cc6f4382e1dadead4c99fdcbdc5d70eafbbd (patch)
treee20605681ceac9d935a7758489d815c64b00bc70
parent965d6ef42190078381f0b84504960f4759f01f8a (diff)
downloadfreebsd-ports-gnome-9006cc6f4382e1dadead4c99fdcbdc5d70eafbbd.tar.gz
freebsd-ports-gnome-9006cc6f4382e1dadead4c99fdcbdc5d70eafbbd.tar.zst
freebsd-ports-gnome-9006cc6f4382e1dadead4c99fdcbdc5d70eafbbd.zip
Use PLIST_DIRS and PLIST_FILES.
-rw-r--r--audio/mbrola/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/audio/mbrola/Makefile b/audio/mbrola/Makefile
index f8fd637ea2f7..0921b1f2c475 100644
--- a/audio/mbrola/Makefile
+++ b/audio/mbrola/Makefile
@@ -26,6 +26,11 @@ RUN_DEPENDS+= ${PREFIX}/share/mbrolavox:${PORTSDIR}/audio/mbrolavox
CONFLICTS?= linux-mbrola-*
NO_BUILD= yes
ONLY_FOR_ARCHS?=i386
+PLIST_DIRS= share/doc/mbrola
+PLIST_FILES= bin/mbrola
+.if !defined(NOPORTDOCS)
+PLIST_FILES+= share/doc/mbrola/readme.txt
+.endif
RESTRICTED= "for non-commercial, non-military applications only"
USE_ZIP= yes
WRKSRC= ${WRKDIR}/mbr301h
@@ -38,13 +43,6 @@ do-extract:
do-patch:
@${RM} -f ${WRKSRC}/mbrola-FreeBSD-i386-aout
-pre-install:
- @${ECHO_CMD} bin/mbrola > ${PLIST}
-.if !defined(NOPORTDOCS)
- @${ECHO_CMD} share/doc/mbrola/readme.txt >> ${PLIST}
- @${ECHO_CMD} @dirrm share/doc/mbrola >> ${PLIST}
-.endif
-
do-install:
.if defined(USE_LINUX)
.if (${MACHINE_ARCH} == "alpha")