Simplify Makefile. Set LICENSE. Fix path to helper programs.

Bump PKGREVISION.
This commit is contained in:
wiz 2009-05-25 12:42:26 +00:00
parent 0614be0058
commit 9d41e9fbb0

View file

@ -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"