diff options
Diffstat (limited to 'audio/wavegain/Makefile')
-rw-r--r-- | audio/wavegain/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/wavegain/Makefile b/audio/wavegain/Makefile index f67567cedc58..fa45638b5046 100644 --- a/audio/wavegain/Makefile +++ b/audio/wavegain/Makefile @@ -1,9 +1,8 @@ PORTNAME= wavegain -PORTVERSION= 1.2.8 -PORTREVISION= 3 +DISTVERSION= 1.3.1 CATEGORIES= audio MASTER_SITES= http://www.rarewares.org/files/others/ -DISTNAME= ${PORTNAME}-${PORTVERSION}srcs${EXTRACT_SUFFIX} +DISTNAME= ${PORTNAME}-${DISTVERSION}srcs MAINTAINER= darcsis@gmail.com COMMENT= Program that applies ReplayGain to wave files @@ -11,20 +10,18 @@ WWW= https://www.rarewares.org/others.html LICENSE= LGPL21 -LIB_DEPENDS= libsndfile.so:audio/libsndfile - ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= uses x86 assembly -USES= gmake dos2unix zip +USES= dos2unix zip -PLIST_FILES= bin/wavegain +WRKSRC= ${WRKDIR}/WaveGain-${DISTVERSION} -WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION} +PLIST_FILES= bin/wavegain do-build: - @cd ${WRKSRC} && ${CC} ${CFLAGS} *.c -o ${PORTNAME} \ - -DHAVE_CONFIG_H -lm -lsndfile -L${LOCALBASE}/lib + (cd ${WRKSRC} && ${SETENVI} ${CC} *.c -o ${PORTNAME} \ + ${CFLAGS} -DHAVE_CONFIG_H ${LDFLAGS} -lm) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |