Files
sthen f8bc77fe67 normalize port tweaks:
- https homepage, sync wantlib
- install a symlink from "normalize-audio", some software (e.g.
gpodder's normalize plugin) looks for the long name (also available
via a configure flag, but that would remove the existing short name
"normalize")
2024-12-28 17:11:29 +00:00

34 lines
623 B
Makefile

COMMENT= audio file volume normalizer
DISTNAME= normalize-0.7.7
CATEGORIES= audio
REVISION= 8
SITES= ${SITE_SAVANNAH:=normalize/}
HOMEPAGE= https://normalize.nongnu.org/
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB= c iconv intl m mad>=2 audiofile FLAC ogg pthread
LIB_DEPENDS= audio/libmad \
devel/gettext,-runtime \
devel/libaudiofile
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-mad \
--with-audiofile
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
post-install:
ln -s normalize ${PREFIX}/bin/normalize-audio
.include <bsd.port.mk>