diff options
author | ade <ade@FreeBSD.org> | 2000-08-04 09:17:03 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-08-04 09:17:03 +0800 |
commit | 22d4579b95463131c6a10de903c4581d44499882 (patch) | |
tree | 39e3fc65bece6b887ba163224ffbfce10bc41f70 /sysutils/gnomecontrolcenter/Makefile | |
parent | 639a625df582212bab09b0f71754f0c442a5c13a (diff) | |
download | freebsd-ports-gnome-22d4579b95463131c6a10de903c4581d44499882.tar.gz freebsd-ports-gnome-22d4579b95463131c6a10de903c4581d44499882.tar.zst freebsd-ports-gnome-22d4579b95463131c6a10de903c4581d44499882.zip |
Update to 1.2.1
Diffstat (limited to 'sysutils/gnomecontrolcenter/Makefile')
-rw-r--r-- | sysutils/gnomecontrolcenter/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sysutils/gnomecontrolcenter/Makefile b/sysutils/gnomecontrolcenter/Makefile index b436bf414a24..bad62d52c0f6 100644 --- a/sysutils/gnomecontrolcenter/Makefile +++ b/sysutils/gnomecontrolcenter/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gnomecontrolcenter -PORTVERSION= 1.2.0 +PORTVERSION= 1.2.1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/control-center @@ -14,7 +14,8 @@ DISTNAME= control-center-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs +LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ + gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf GTK_CONFIG?= ${X11BASE}/bin/gtk12-config @@ -23,10 +24,16 @@ USE_GMAKE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome \ - --with-gnome=${PREFIX} + --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" +post-extract: + @${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> |