2000-04-08 17:25:03 -04:00
|
|
|
# New ports collection makefile for: gnomemedia
|
1999-03-08 20:22:43 -05:00
|
|
|
# Date created: 20 January 1999
|
|
|
|
# Whom: Jeremy Lea <reg@shale.csir.co.za>
|
|
|
|
#
|
1999-08-25 00:36:31 -04:00
|
|
|
# $FreeBSD$
|
1999-03-08 20:22:43 -05:00
|
|
|
#
|
|
|
|
|
2000-04-08 17:25:03 -04:00
|
|
|
PORTNAME= gnomemedia
|
2000-06-01 12:10:38 -04:00
|
|
|
PORTVERSION= 1.2.0
|
1999-03-08 20:22:43 -05:00
|
|
|
CATEGORIES= audio gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 14:08:13 -05:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnome-media
|
2000-04-08 17:25:03 -04:00
|
|
|
DISTNAME= gnome-media-${PORTVERSION}
|
1999-03-08 20:22:43 -05:00
|
|
|
|
2000-01-29 17:11:15 -05:00
|
|
|
MAINTAINER= reg@FreeBSD.org
|
1999-03-08 20:22:43 -05:00
|
|
|
|
2000-10-05 03:10:50 -04:00
|
|
|
RUN_DEPENDS= sox:${PORTSDIR}/audio/sox
|
1999-03-08 20:22:43 -05:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_GNOME= yes
|
1999-05-29 23:56:37 -04:00
|
|
|
USE_LIBTOOL= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
CONFIGURE_ARGS= --without-ncurses
|
1999-03-08 20:22:43 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-08-04 12:11:37 -04:00
|
|
|
pre-patch:
|
2000-08-03 21:19:21 -04:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
1999-03-08 20:22:43 -05:00
|
|
|
.include <bsd.port.mk>
|