aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2015-07-16 04:59:07 +0800
committerpgollucci <pgollucci@FreeBSD.org>2015-07-16 04:59:07 +0800
commit2156c3f184081ee96c4c0ed3e44338bb4cafe4d1 (patch)
tree7bf9dc9c505285deb9e8d112d8f7ddd0092c826a /x11-fm
parente8cd49b91c7b21af7db44e704ce0b001f5e9c662 (diff)
downloadfreebsd-ports-gnome-2156c3f184081ee96c4c0ed3e44338bb4cafe4d1.tar.gz
freebsd-ports-gnome-2156c3f184081ee96c4c0ed3e44338bb4cafe4d1.tar.zst
freebsd-ports-gnome-2156c3f184081ee96c4c0ed3e44338bb4cafe4d1.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)
Diffstat (limited to 'x11-fm')
-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"