- Use USE_PKGCONFIG macro

- Add patch when NLS is unset

Submitted by:	myself
Approved by:	miwi, rene (mentors)
This commit is contained in:
Olivier Duchateau 2012-08-09 19:22:26 +00:00
parent 469c6b398e
commit 792a309197
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302351

View file

@ -7,7 +7,7 @@
PORTNAME= libexo PORTNAME= libexo
PORTVERSION= 0.8.0 PORTVERSION= 0.8.0
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= x11 xfce CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITES= ${MASTER_SITE_XFCE}
DISTNAME= exo-${PORTVERSION} DISTNAME= exo-${PORTVERSION}
@ -26,12 +26,12 @@ GNU_CONFIGURE= yes
INSTALLS_ICONS= yes INSTALLS_ICONS= yes
USE_BZIP2= yes USE_BZIP2= yes
USE_GMAKE= yes USE_GMAKE= yes
USE_GNOME= gnomehack glib20 gtk20 intltool intlhack pkgconfig \ USE_GNOME= gnomehack glib20 gtk20 intltool intlhack desktopfileutils
desktopfileutils
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_PERL5= yes USE_PERL5= yes
USE_XFCE= configenv libmenu libutil USE_XFCE= configenv libmenu libutil
USE_XORG= x11 USE_XORG= x11
USE_PKGCONFIG= build
CONFIGURE_ARGS+=--enable-gio-unix \ CONFIGURE_ARGS+=--enable-gio-unix \
--disable-gtk-doc-html --disable-gtk-doc-html
@ -59,6 +59,11 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment " PLIST_SUB+= NLS="@comment "
.endif .endif
.if empty(PORT_OPTIONS:MNLS)
post-patch:
@${REINPLACE_CMD} -e 's| po||' ${WRKSRC}/Makefile.in
.endif
post-install: post-install:
@-update-desktop-database @-update-desktop-database