diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-01-08 00:54:30 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-01-08 00:54:30 +0000 |
commit | e5accf3361d6d2a05b3f6287365cd9a32e4487cf (patch) | |
tree | 88c357fd012c2c4c17093c6ccef9695bee16e92a /audio/lame | |
parent | ff5cd969e58390cf771f97695db531547fb518a3 (diff) | |
download | ports-e5accf3361d6d2a05b3f6287365cd9a32e4487cf.tar.gz ports-e5accf3361d6d2a05b3f6287365cd9a32e4487cf.zip |
Notes
Diffstat (limited to 'audio/lame')
-rw-r--r-- | audio/lame/Makefile | 22 | ||||
-rw-r--r-- | audio/lame/files/patch-aa | 27 | ||||
-rw-r--r-- | audio/lame/pkg-plist | 4 |
3 files changed, 31 insertions, 22 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile index c4970ed078ef..a6437c67e400 100644 --- a/audio/lame/Makefile +++ b/audio/lame/Makefile @@ -7,21 +7,18 @@ PORTNAME= lame PORTVERSION= 3.70 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio -MASTER_SITES= http://lame.sourceforge.net/download/beta/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://lame.sourceforge.net/pub/ +MASTER_SITE_SUBDIR= lame/src DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= yoshiaki@kt.rim.or.jp -EXTRA_PATCHES= ${WRKDIR}/patch-lib_version USE_GMAKE= yes WANT_GTK= yes ALL_TARGET= lame -INSTALLS_SHLIB= yes -PLIST_SUB= LIB_VERSION="${LIB_VERSION}" - -LIB_VERSION= 1 MAN1= lame.1 @@ -31,15 +28,7 @@ MAN1= lame.1 USE_GTK= yes .endif -pre-patch: - @${SED} "s!%%LIB_VERSION%%!${LIB_VERSION}!g" \ - ${FILESDIR}/template-extra-patch-lib_version \ - > ${WRKDIR}/patch-lib_version - do-install: - @${INSTALL_DATA} ${WRKSRC}/libmp3lame.a ${PREFIX}/lib - @${INSTALL_DATA} ${WRKSRC}/libmp3lame.so.${LIB_VERSION} ${PREFIX}/lib - @${INSTALL_DATA} ${WRKSRC}/lame.h ${PREFIX}/include @${INSTALL_PROGRAM} ${WRKSRC}/lame ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/doc/man/lame.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @@ -48,7 +37,4 @@ do-install: ${WRKSRC}/doc/html/*.css ${PREFIX}/share/doc/lame .endif -post-install: - @${LN} -sf libmp3lame.so.${LIB_VERSION} ${PREFIX}/lib/libmp3lame.so - .include <bsd.port.post.mk> diff --git a/audio/lame/files/patch-aa b/audio/lame/files/patch-aa new file mode 100644 index 000000000000..99d077e3026d --- /dev/null +++ b/audio/lame/files/patch-aa @@ -0,0 +1,27 @@ +--- Makefile.orig Sat Jul 1 15:31:35 2000 ++++ Makefile Sat Jul 1 15:36:07 2000 +@@ -11,8 +11,8 @@ + + # defaults: + PGM = lame +-CC = gcc +-CC_OPTS = -O ++CC ?= gcc ++CC_OPTS = ${CFLAGS} + GTK = + GTKLIBS = + SNDLIB = -DLAMESNDFILE +@@ -136,8 +136,10 @@ + ########################################################################## + ifeq ($(UNAME),FreeBSD) + # remove if you do not have GTK or do not want the GTK frame analyzer +- GTK = -DHAVEGTK `gtk12-config --cflags` +- GTKLIBS = `gtk12-config --libs` ++ifdef HAVE_GTK ++ GTK = -DHAVEGTK `$(GTK_CONFIG) --cflags` ++ GTKLIBS = `$(GTK_CONFIG) --libs` ++endif + # Comment out next 2 lines if you want to remove VBR histogram capability + BRHIST_SWITCH = -DBRHIST + LIBTERMCAP = -lncurses + diff --git a/audio/lame/pkg-plist b/audio/lame/pkg-plist index 6e9e6e8fe35c..247cb31793af 100644 --- a/audio/lame/pkg-plist +++ b/audio/lame/pkg-plist @@ -1,8 +1,4 @@ bin/lame -include/lame.h -lib/libmp3lame.a -lib/libmp3lame.so -lib/libmp3lame.so.%%LIB_VERSION%% share/doc/lame/contributors.html share/doc/lame/examples.html share/doc/lame/history.html |