summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-control-center/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-control-center/Makefile')
-rw-r--r--sysutils/gnome-control-center/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile
index f939a9fb8..700d0a640 100644
--- a/sysutils/gnome-control-center/Makefile
+++ b/sysutils/gnome-control-center/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnomecontrolcenter2
-PORTVERSION= 2.3.1
+PORTVERSION= 2.3.2
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/control-center/2.3
@@ -14,7 +14,7 @@ DISTNAME= control-center-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
-COMMENT= Control center for GNOME 2.0 project
+COMMENT= Control center for GNOME 2 project
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -22,13 +22,15 @@ USE_REINPLACE= yes
USE_GMAKE= yes
GNOME_DESKTOP_VERSION=2
USE_GNOME= gnomeprefix gnomehack gnomehier gnomedesktop metacity
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
- LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[{]prefix[}]/share/pixmaps|{datadir}/pixmaps|g'
.include <bsd.port.mk>