aboutsummaryrefslogtreecommitdiff
path: root/audio/maplay
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-19 14:15:34 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-19 14:15:34 +0000
commit7babccad705ae6ba1be754ad24fd3df43c9abf01 (patch)
treebd7df52b7544e1178bdce2f9d7eb93784f19ee4e /audio/maplay
parent3e8ee4520b9989266ed89d3c3df86b20c978d70b (diff)
downloadports-7babccad705ae6ba1be754ad24fd3df43c9abf01.tar.gz
ports-7babccad705ae6ba1be754ad24fd3df43c9abf01.zip
- Nuke two-line plist
- Sanitize post-patch target
Notes
Notes: svn path=/head/; revision=133670
Diffstat (limited to 'audio/maplay')
-rw-r--r--audio/maplay/Makefile10
-rw-r--r--audio/maplay/pkg-plist3
2 files changed, 6 insertions, 7 deletions
diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile
index 4159bcf6ffd2..3d209208cb34 100644
--- a/audio/maplay/Makefile
+++ b/audio/maplay/Makefile
@@ -15,13 +15,15 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= MPEG audio player/decoder decoding layer I and II MPEG audio streams
+USE_REINPLACE= yes
NO_WRKSUBDIR= yes
+PLIST_FILES= bin/maplay
+PORTDOCS= README
+
post-patch:
- @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
- ${WRKSRC}/configuration.sh > ${WRKSRC}/configuration.sh.new
- @${MV} ${WRKSRC}/configuration.sh.new ${WRKSRC}/configuration.sh
- @${CHMOD} a+x ${WRKSRC}/configuration.sh
+ @${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \
+ ${WRKSRC}/configuration.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/maplay ${PREFIX}/bin
diff --git a/audio/maplay/pkg-plist b/audio/maplay/pkg-plist
deleted file mode 100644
index 5a817e007ff2..000000000000
--- a/audio/maplay/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/maplay
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%