2000-06-01 16:16:24 -04:00
|
|
|
# New ports collection makefile for: oaf
|
|
|
|
# Date created: 1st June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= oaf
|
2002-04-18 10:01:11 -04:00
|
|
|
PORTVERSION= 0.6.10
|
2000-06-01 16:16:24 -04:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2001-09-11 03:41:34 -04:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/oaf
|
2002-04-18 10:01:11 -04:00
|
|
|
DIST_SUBDIR= gnome
|
2000-06-01 16:16:24 -04:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-01 16:16:24 -04:00
|
|
|
|
2001-05-04 17:39:58 -04:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2000-06-01 16:16:24 -04:00
|
|
|
|
2002-04-18 10:01:11 -04:00
|
|
|
USE_BZIP2= yes
|
2000-06-01 16:16:24 -04:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 02:23:01 -04:00
|
|
|
USE_GLIB= yes
|
2001-09-11 03:41:34 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-05-04 17:39:58 -04:00
|
|
|
USE_GNOMELIBS= yes
|
|
|
|
CONFIGURE_ARGS= --enable-static --enable-shared \
|
2002-04-18 10:01:11 -04:00
|
|
|
--disable-more-warnings --disable-gtk-doc
|
2000-06-01 16:16:24 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-08-17 12:39:50 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
2002-04-18 10:01:11 -04:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2000-08-17 12:39:50 -04:00
|
|
|
|
2002-04-18 10:01:11 -04:00
|
|
|
MAN1= oafd.1
|
2001-11-09 11:41:15 -05:00
|
|
|
|
2000-08-17 12:39:50 -04:00
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-17 12:39:50 -04:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2001-09-11 03:41:34 -04:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2000-08-17 12:39:50 -04:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
2000-06-01 16:16:24 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|