mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: oaf
|
|
# Date created: 1st June 2000
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= oaf
|
|
PORTVERSION= 0.5.1
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= unstable/sources/oaf
|
|
|
|
MAINTAINER= ade@FreeBSD.org
|
|
|
|
LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 \
|
|
ORBit.2:${PORTSDIR}/devel/ORBit \
|
|
popt.0:${PORTSDIR}/devel/popt \
|
|
xml.5:${PORTSDIR}/textproc/libxml
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
|
--datadir=${PREFIX}/share/gnome \
|
|
--enable-static --enable-shared \
|
|
--disable-more-warnings
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
|
|
|
pre-patch:
|
|
@${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'
|
|
|
|
.include <bsd.port.mk>
|