Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= glame |
8 |
PORTNAME= glame |
9 |
PORTVERSION= 1.0.1 |
9 |
PORTVERSION= 1.0.1 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= audio gnome |
11 |
CATEGORIES= audio gnome |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 14-43
Link Here
|
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= A powerful, fast, stable, and easily extensible sound editor for GNOME |
16 |
COMMENT= A powerful, fast, stable, and easily extensible sound editor for GNOME |
16 |
|
17 |
|
17 |
LIB_DEPENDS= ltdl.4:${PORTSDIR}/devel/libltdl |
18 |
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa |
|
|
19 |
LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis \ |
20 |
ltdl.4:${PORTSDIR}/devel/libltdl |
18 |
|
21 |
|
19 |
USE_GNOME= gnomeprefix gnomehack libglade |
|
|
20 |
USE_X_PREFIX= yes |
22 |
USE_X_PREFIX= yes |
|
|
23 |
USE_GNOME= gnomehack gnomeprefix gnometarget libglade |
21 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
22 |
USE_LIBTOOL= yes |
25 |
USE_LIBTOOL= yes |
23 |
INSTALLS_SHLIB= yes |
|
|
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
25 |
LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}" |
27 |
LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}" \ |
|
|
28 |
MAKEINFO="makeinfo --no-split" |
29 |
INSTALLS_SHLIB= yes |
26 |
|
30 |
|
27 |
.include <bsd.port.pre.mk> |
31 |
INFO= glame glame-dev |
|
|
32 |
|
33 |
post-extract: |
34 |
@cd ${WRKSRC}/doc && ${RM} -f *.info* |
28 |
|
35 |
|
29 |
post-patch: |
36 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ |
37 |
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ |
31 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
|
|
32 |
@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ |
33 |
's|-lpthread|${PTHREAD_LIBS}|g' |
38 |
's|-lpthread|${PTHREAD_LIBS}|g' |
34 |
@find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \ |
39 |
@${GREP} -lR "<values\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ |
35 |
's|<values[.]h>|<limits.h>|' |
40 |
's|<values\.h>|<limits.h>|' |
36 |
|
|
|
37 |
post-install: |
38 |
@install-info ${PREFIX}/info/glame.info \ |
39 |
--section="Audio Processing" \ |
40 |
--entry="* glame: (glame). audio processing tool for GNOME" \ |
41 |
${PREFIX}/info/dir |
42 |
|
41 |
|
43 |
.include <bsd.port.post.mk> |
42 |
.include <bsd.port.mk> |