mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
7f4572eae4
With hat: portmgr Sponsored by: Absolight
33 lines
781 B
Makefile
33 lines
781 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: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}
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${CC} ${CFLAGS} *.c -o ${PORTNAME} \
|
|
-DHAVE_CONFIG_H -lm -lsndfile -L${LOCALBASE}/lib
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|