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
|
2001-05-04 17:39:58 -04:00
|
|
|
PORTVERSION= 0.6.5
|
2001-09-04 08:15:10 -04:00
|
|
|
PORTREVISION= 1
|
2000-06-01 16:16:24 -04:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= unstable/sources/oaf
|
|
|
|
|
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
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 02:23:01 -04:00
|
|
|
USE_GLIB= yes
|
2000-06-01 16:16:24 -04:00
|
|
|
USE_LIBTOOL= 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 \
|
2000-07-05 18:02:23 -04:00
|
|
|
--disable-more-warnings
|
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"
|
|
|
|
|
|
|
|
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
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
2000-06-01 16:16:24 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|