aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3splt/Makefile
blob: aec40d4fa1400c3b159efe1c2057f1189b5548e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    audio/mp3splt
# Date created:             30.05.2003
# Whom:                 Ulrich Spoerlein <q@uni.de>
#
# $FreeBSD$
#

PORTNAME=   mp3splt
PORTVERSION=    2.2.8
CATEGORIES= audio
MASTER_SITES=   SF

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
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
        CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS+=--enable-oggsplt_symlink --disable-mp3splttest

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=  de fr
.for language in ${LANGUAGES}
PLIST_FILES+=   share/locale/${language}/LC_MESSAGES/mp3splt.mo
.endfor
.endif

.include <bsd.port.post.mk>