Index: head/audio/wavegain/Makefile =================================================================== --- head/audio/wavegain/Makefile (revision 391080) +++ head/audio/wavegain/Makefile (revision 391081) @@ -1,37 +1,32 @@ # Created by: Denise H. G. # $FreeBSD$ PORTNAME= wavegain PORTVERSION= 1.2.8 CATEGORIES= audio MASTER_SITES= http://www.rarewares.org/files/others/ DISTNAME= ${PORTNAME}-${PORTVERSION}srcs${EXTRACT_SUFFIX} MAINTAINER= darcsis@gmail.com COMMENT= Program that applies ReplayGain to wave files LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile +ONLY_FOR_ARCHS= i386 amd64 +ONLY_FOR_ARCHS_REASON= uses x86 assembly + USES= gmake dos2unix zip DOS2UNIX_FILES= audio.c wavegain.c PLIST_FILES= bin/wavegain -WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION} +WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION} -.include +do-build: + @cd ${WRKSRC} && ${CC} ${CFLAGS} *.c -o ${PORTNAME} \ + -DHAVE_CONFIG_H -lm -lsndfile -L${LOCALBASE}/lib -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - -post-patch: - @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/Makefile.linux - -do-configure: - @cd ${WRKSRC} && ${CP} Makefile.linux Makefile - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.include +.include Index: head/audio/wavegain/files/patch-Makefile.linux =================================================================== --- head/audio/wavegain/files/patch-Makefile.linux (revision 391080) +++ head/audio/wavegain/files/patch-Makefile.linux (nonexistent) @@ -1,11 +0,0 @@ ---- Makefile.linux.orig 2005-11-30 12:17:14.000000000 +0100 -+++ Makefile.linux 2013-08-28 13:02:43.817494398 +0200 -@@ -1,5 +1,7 @@ -+CC ?= cc -+ - all: -- gcc *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -+ ${CC} *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -L%%LOCALBASE%%/lib - - install: - install -d /usr/bin/ Property changes on: head/audio/wavegain/files/patch-Makefile.linux ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property