aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/pcmanfm
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2015-07-15 20:59:07 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2015-07-15 20:59:07 +0000
commitfef53ed1dff5afbcb356bb6c33f3ebe9e5a24da7 (patch)
tree7bf9dc9c505285deb9e8d112d8f7ddd0092c826a /x11-fm/pcmanfm
parent92b6a435d12ecb35cb3aced951ad8b6ae482f0df (diff)
downloadports-fef53ed1dff5afbcb356bb6c33f3ebe9e5a24da7.tar.gz
ports-fef53ed1dff5afbcb356bb6c33f3ebe9e5a24da7.zip
x11-fm/pcmanfm: cleanup
- Bump PORTREVISION - Add gettext-runtime into USES - Sort USES - Fix NLS option - Regenerate patch PR: 201414 Submitted by: s3erios@gmail.com and maintainer Approved by: horia@racoviceanu.com (maintainer)
Notes
Notes: svn path=/head/; revision=392223
Diffstat (limited to 'x11-fm/pcmanfm')
-rw-r--r--x11-fm/pcmanfm/Makefile7
-rw-r--r--x11-fm/pcmanfm/files/patch-src__Makefile.am13
2 files changed, 12 insertions, 8 deletions
diff --git a/x11-fm/pcmanfm/Makefile b/x11-fm/pcmanfm/Makefile
index d321e46a7713..26b3676b2c47 100644
--- a/x11-fm/pcmanfm/Makefile
+++ b/x11-fm/pcmanfm/Makefile
@@ -13,19 +13,20 @@ LICENSE= GPLv2
LIB_DEPENDS= libfm-gtk.so:${PORTSDIR}/x11/libfm
-USES= desktop-file-utils gmake pkgconfig gettext-tools libtool \
- autoreconf tar:xz
+USES= autoreconf desktop-file-utils gettext gmake libtool pkgconfig \
+ tar:xz
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk20 intltool intlhack
USE_XORG= x11
CONFIGURE_ARGS=--with-gtk=2
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS NEWS
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
post-patch:
diff --git a/x11-fm/pcmanfm/files/patch-src__Makefile.am b/x11-fm/pcmanfm/files/patch-src__Makefile.am
index 0fabe6ab93ee..3e45bf5d11d5 100644
--- a/x11-fm/pcmanfm/files/patch-src__Makefile.am
+++ b/x11-fm/pcmanfm/files/patch-src__Makefile.am
@@ -1,13 +1,16 @@
---- ./src/Makefile.am.orig 2014-01-06 23:55:25.000000000 +0000
-+++ ./src/Makefile.am 2014-02-23 09:58:26.669238176 +0000
-@@ -49,3 +49,10 @@
- $(XLIB_LIBS) \
+--- src/Makefile.am.orig 2014-05-16 16:51:21 UTC
++++ src/Makefile.am
+@@ -50,6 +50,13 @@ pcmanfm_LDADD = \
$(FM_LIBS) \
$(NULL)
-+
+
+# create plugins' directory anyway
+install-exec-hook:
+ $(MKDIR_P) $(DESTDIR)$(libdir)/pcmanfm
+
+uninstall-hook:
+ -rmdir $(DESTDIR)$(libdir)/pcmanfm
++
+ # prepare modules directory
+ install-exec-local:
+ $(MKDIR_P) "$(DESTDIR)$(libdir)/pcmanfm"