aboutsummaryrefslogtreecommitdiffstats
path: root/audio/maplay
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-19 22:15:34 +0800
committervs <vs@FreeBSD.org>2005-04-19 22:15:34 +0800
commit974b58e3eeb2b1f12132fc83706a79f36438e9e2 (patch)
tree5f246ea9b25730e70f9d4a4d6ac161350fb36bc0 /audio/maplay
parent0f6f793401b9121cbf233eb18811cfbcb6fc533d (diff)
downloadfreebsd-ports-gnome-974b58e3eeb2b1f12132fc83706a79f36438e9e2.tar.gz
freebsd-ports-gnome-974b58e3eeb2b1f12132fc83706a79f36438e9e2.tar.zst
freebsd-ports-gnome-974b58e3eeb2b1f12132fc83706a79f36438e9e2.zip
- Nuke two-line plist
- Sanitize post-patch target
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%%