pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mp32ogg Simplify Makefile. Set LICENSE. Fix path...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/804f48e0597a
branches:  trunk
changeset: 559576:804f48e0597a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 25 12:42:26 2009 +0000

description:
Simplify Makefile. Set LICENSE. Fix path to helper programs.
Bump PKGREVISION.

diffstat:

 audio/mp32ogg/Makefile |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (43 lines):

diff -r 8f7fcab6633b -r 804f48e0597a audio/mp32ogg/Makefile
--- a/audio/mp32ogg/Makefile    Mon May 25 12:10:18 2009 +0000
+++ b/audio/mp32ogg/Makefile    Mon May 25 12:42:26 2009 +0000
@@ -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 @@
 MAINTAINER=    rxg%NetBSD.org@localhost
 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 @@
 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"



Home | Main Index | Thread Index | Old Index