d78748efb7
PR: ports/160821 ubmitted by: Spil <spil.oss@googlemail.com> Submitted by: Anton Yuzhaninov <citrin@citrin.ru> (maintainer)
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# New ports collection makefile for: audio/mp3splt
|
|
# Date created: 30.05.2003
|
|
# Whom: Ulrich Spoerlein <q@uni.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mp3splt
|
|
PORTVERSION= 2.4.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/mp3splt/${PORTNAME}
|
|
|
|
MAINTAINER= citrin@citrin.ru
|
|
COMMENT= Utility to split mp3 and ogg files (via CUE sheets)
|
|
|
|
LIB_DEPENDS= mp3splt:${PORTSDIR}/audio/libmp3splt
|
|
|
|
USE_AUTOTOOLS= libltdl
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+=--enable-oggsplt_symlink --disable-mp3splttest
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
OPTIONS= NLS "Native language support" on
|
|
|
|
MAN1= oggsplt.1 mp3splt.1
|
|
PLIST_FILES= bin/mp3splt bin/oggsplt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.else
|
|
USE_GETTEXT= yes
|
|
LANGUAGES= cs de_DE es fr_FR
|
|
.for language in ${LANGUAGES}
|
|
PLIST_FILES+= share/locale/${language}/LC_MESSAGES/mp3splt.mo
|
|
.endfor
|
|
PLIST_DIRSTRY+= share/locale/de_DE/LC_MESSAGES
|
|
PLIST_DIRSTRY+= share/locale/de_DE
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|