Lines 6-41
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= sweep |
8 |
PORTNAME= sweep |
9 |
PORTVERSION= 0.9.1 |
9 |
PORTVERSION= 0.9.2 |
10 |
PORTREVISION= 4 |
|
|
11 |
CATEGORIES= audio gnome |
10 |
CATEGORIES= audio gnome |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= SF |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
14 |
|
12 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= A sound editor for the GNOME/GTK 2.0 desktop |
14 |
COMMENT= A sound editor for the GNOME/GTK 2.0 desktop |
17 |
|
15 |
|
18 |
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \ |
16 |
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ |
19 |
samplerate.1:${PORTSDIR}/audio/libsamplerate \ |
17 |
samplerate.1:${PORTSDIR}/audio/libsamplerate \ |
|
|
18 |
sndfile.1:${PORTSDIR}/audio/libsndfile \ |
20 |
vorbis.4:${PORTSDIR}/audio/libvorbis \ |
19 |
vorbis.4:${PORTSDIR}/audio/libvorbis \ |
21 |
speex.1:${PORTSDIR}/audio/speex \ |
20 |
speex.1:${PORTSDIR}/audio/speex |
22 |
mad.2:${PORTSDIR}/audio/mad |
|
|
23 |
|
21 |
|
24 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
25 |
USE_X_PREFIX= yes |
23 |
USE_GNOME= gnomehack gnometarget gtk20 |
26 |
USE_GETTEXT= yes |
24 |
USE_GETTEXT= yes |
27 |
USE_GNOME= gnomehack gnomeprefix gnometarget gtk20 |
|
|
28 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
29 |
GNU_CONFIGURE= yes |
26 |
USE_AUTOTOOLS= libtool:15 |
30 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
27 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
31 |
LDFLAGS="-L${LOCALBASE}/lib" |
28 |
LDFLAGS="-L${LOCALBASE}/lib" |
32 |
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \ |
29 |
CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \ |
33 |
--with-extraincdir=${LOCALBASE}/include \ |
30 |
--with-extraincdir=${LOCALBASE}/include \ |
34 |
--with-vorbis=${LOCALBASE}/lib \ |
31 |
--with-vorbis-libraries=${LOCALBASE}/lib \ |
35 |
--with-vorbis=${LOCALBASE}/include/vorbis \ |
32 |
--with-vorbis-includes=${LOCALBASE}/include/vorbis \ |
36 |
--with-ogg=${LOCALBASE}/lib \ |
33 |
--with-ogg-libraries=${LOCALBASE}/lib \ |
37 |
--with-ogg=${LOCALBASE}/include/ogg |
34 |
--with-ogg-includes=${LOCALBASE}/include/ogg |
38 |
|
35 |
|
39 |
MAN1= sweep.1 |
36 |
MAN1= sweep.1 |
|
|
37 |
|
38 |
post-patch: |
39 |
@${REINPLACE_CMD} -e 's|^ac_enable_alsa=yes|ac_enable_alsa=no|g ; \ |
40 |
s|$${datadir}|$${datarootdir}|g' ${WRKSRC}/configure |
40 |
|
41 |
|
41 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |