Lines 6-41
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= mp3splt |
8 |
PORTNAME= mp3splt |
9 |
PORTVERSION= 2.1c |
9 |
PORTVERSION= 2.2.3 |
10 |
PORTREVISION= 3 |
|
|
11 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-src |
|
|
15 |
|
13 |
|
16 |
MAINTAINER= fk@fabiankeil.de |
14 |
MAINTAINER= citrin@citrin.ru |
17 |
COMMENT= Utility to split mp3 and ogg files (via CUE sheets) |
15 |
COMMENT= Utility to split mp3 and ogg files (via CUE sheets) |
18 |
|
16 |
|
19 |
OPTIONS= VORBIS "Ogg Vorbis support" On |
17 |
LIB_DEPENDS= mp3splt:${PORTSDIR}/audio/libmp3splt |
20 |
|
18 |
|
21 |
.include <bsd.port.pre.mk> |
19 |
USE_AUTOTOOLS= libltdl |
22 |
|
|
|
23 |
LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad |
24 |
|
20 |
|
25 |
.if !defined(WITHOUT_VORBIS) |
21 |
.include <bsd.port.pre.mk> |
26 |
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \ |
|
|
27 |
ogg.5:${PORTSDIR}/audio/libogg |
28 |
.else |
29 |
CONFIGURE_ARGS+=--disable-ogg |
30 |
.endif |
31 |
|
22 |
|
32 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
33 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ |
24 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ |
34 |
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" |
25 |
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" |
35 |
|
|
|
36 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
37 |
|
26 |
|
38 |
MAN1= mp3splt.1 |
27 |
MAN1= mp3splt.1 |
39 |
PLIST_FILES= bin/mp3splt bin/oggsplt |
28 |
PLIST_FILES= bin/mp3splt bin/oggsplt |
40 |
|
29 |
|
|
|
30 |
post-install: |
31 |
@${LN} -fsv ${PREFIX}/bin/mp3splt ${PREFIX}/bin/oggsplt |
32 |
|
41 |
.include <bsd.port.post.mk> |
33 |
.include <bsd.port.post.mk> |