From 974b58e3eeb2b1f12132fc83706a79f36438e9e2 Mon Sep 17 00:00:00 2001 From: vs Date: Tue, 19 Apr 2005 14:15:34 +0000 Subject: - Nuke two-line plist - Sanitize post-patch target --- audio/maplay/Makefile | 10 ++++++---- audio/maplay/pkg-plist | 3 --- 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 audio/maplay/pkg-plist (limited to 'audio/maplay') diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile index 4159bcf..3d20920 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 5a817e0..0000000 --- a/audio/maplay/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/maplay -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.1