aboutsummaryrefslogtreecommitdiff
path: root/x11/libexo
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2012-08-09 19:22:26 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2012-08-09 19:22:26 +0000
commit792a309197ca3e7bb69875aaa0a423d5b1fc2b8f (patch)
tree6903d69f0b67d3f3d2bbf925843921f6fc4e4ae1 /x11/libexo
parent469c6b398e8e76b66b722cdf8d902228402be2ab (diff)
downloadports-792a309197ca3e7bb69875aaa0a423d5b1fc2b8f.tar.gz
ports-792a309197ca3e7bb69875aaa0a423d5b1fc2b8f.zip
- Use USE_PKGCONFIG macro
- Add patch when NLS is unset Submitted by: myself Approved by: miwi, rene (mentors)
Notes
Notes: svn path=/head/; revision=302351
Diffstat (limited to 'x11/libexo')
-rw-r--r--x11/libexo/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11/libexo/Makefile b/x11/libexo/Makefile
index 54458d69fe5a..f69e244086e8 100644
--- a/x11/libexo/Makefile
+++ b/x11/libexo/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libexo
PORTVERSION= 0.8.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
DISTNAME= exo-${PORTVERSION}
@@ -26,12 +26,12 @@ GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack glib20 gtk20 intltool intlhack pkgconfig \
- desktopfileutils
+USE_GNOME= gnomehack glib20 gtk20 intltool intlhack desktopfileutils
USE_LDCONFIG= yes
USE_PERL5= yes
USE_XFCE= configenv libmenu libutil
USE_XORG= x11
+USE_PKGCONFIG= build
CONFIGURE_ARGS+=--enable-gio-unix \
--disable-gtk-doc-html
@@ -59,6 +59,11 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+.if empty(PORT_OPTIONS:MNLS)
+post-patch:
+ @${REINPLACE_CMD} -e 's| po||' ${WRKSRC}/Makefile.in
+.endif
+
post-install:
@-update-desktop-database