mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
38 lines
927 B
Makefile
38 lines
927 B
Makefile
# Created by: Denise H. G. <darcsis@gmail.com>
|
|
# $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
|
|
|
|
USES= gmake dos2unix zip
|
|
DOS2UNIX_FILES= audio.c wavegain.c
|
|
|
|
PLIST_FILES= bin/wavegain
|
|
|
|
WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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 <bsd.port.post.mk>
|