summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2009-05-25 12:42:26 +0000
committerwiz <wiz>2009-05-25 12:42:26 +0000
commit6a9577db0ce0a7736d956d2e1f3b2bdde9853448 (patch)
tree6e1fc62ff74a74e58fc1b168af0dbad69843eda2 /audio
parent5456f7e4df26eb46d3b0b0aa6c132075b0ee85ee (diff)
downloadpkgsrc-6a9577db0ce0a7736d956d2e1f3b2bdde9853448.tar.gz
Simplify Makefile. Set LICENSE. Fix path to helper programs.
Bump PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r--audio/mp32ogg/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/audio/mp32ogg/Makefile b/audio/mp32ogg/Makefile
index 81bd6681a0b..8f19de4e7f9 100644
--- a/audio/mp32ogg/Makefile
+++ b/audio/mp32ogg/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:33 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2009/05/25 12:42:26 wiz Exp $
DISTNAME= mp32ogg-0.11
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= # empty
@@ -9,6 +9,7 @@ EXTRACT_SUFX= # empty
MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://faceprint.com/code/
COMMENT= Convert MP3 files to Ogg Vorbis files
+LICENSE= artistic
DEPENDS+= mpg123>=0.59.18:../../audio/mpg123
DEPENDS+= vorbis-tools>=1.0.0.7:../../audio/vorbis-tools
@@ -18,18 +19,15 @@ DEPENDS+= p5-String-ShellQuote>=1.00:../../textproc/p5-String-ShellQuote
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
-EXTRACT_ONLY= # empty
-NO_BUILD= yes
-
USE_TOOLS+= perl:run
REPLACE_PERL= ${WRKSRC}/${DISTNAME}
INSTALLATION_DIRS= bin
-do-extract:
- ${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}
+do-build:
+ ${SED} -e "s,/usr/bin,${PREFIX}/bin," ${WRKSRC}/${DISTNAME} > ${WRKSRC}/mp32ogg
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/mp32ogg
+ ${INSTALL_SCRIPT} ${WRKSRC}/mp32ogg ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"