aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xpad-current
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-18 00:27:45 +0800
committerbapt <bapt@FreeBSD.org>2014-12-18 00:27:45 +0800
commit70c1ba7c1646e30142859faffbb055da5e5a5b35 (patch)
tree725255c541b311cdd4368a777060332b5d6c29aa /deskutils/xpad-current
parentf44931a2d0c20edd2c8c2b16fea9bc5cec09cef8 (diff)
downloadfreebsd-ports-gnome-70c1ba7c1646e30142859faffbb055da5e5a5b35.tar.gz
freebsd-ports-gnome-70c1ba7c1646e30142859faffbb055da5e5a5b35.tar.zst
freebsd-ports-gnome-70c1ba7c1646e30142859faffbb055da5e5a5b35.zip
Fix packaging as a user (the Makefile was trying to modify LOCALBASE)
While here remove now useless gnomehier dep
Diffstat (limited to 'deskutils/xpad-current')
-rw-r--r--deskutils/xpad-current/Makefile3
-rw-r--r--deskutils/xpad-current/files/patch-doc_Makefile14
2 files changed, 15 insertions, 2 deletions
diff --git a/deskutils/xpad-current/Makefile b/deskutils/xpad-current/Makefile
index e568840c089b..82acf39f3b95 100644
--- a/deskutils/xpad-current/Makefile
+++ b/deskutils/xpad-current/Makefile
@@ -17,13 +17,12 @@ OPTIONS_SUB= yes
CONFLICTS_INSTALL= xpad-[0-9]*
USE_XORG= x11 sm
-USE_GNOME= gtk30 gnomehier intltool gtksourceview3
+USE_GNOME= gtk30 intltool gtksourceview3
USES= pkgconfig gmake tar:bzip2
INSTALLS_ICONS= yes
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
-NEED_ROOT=yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
diff --git a/deskutils/xpad-current/files/patch-doc_Makefile b/deskutils/xpad-current/files/patch-doc_Makefile
new file mode 100644
index 000000000000..a03d1d007654
--- /dev/null
+++ b/deskutils/xpad-current/files/patch-doc_Makefile
@@ -0,0 +1,14 @@
+--- doc/Makefile.orig 2014-12-17 16:24:43 UTC
++++ doc/Makefile
+@@ -516,9 +516,9 @@ uninstall-man: uninstall-man1
+
+ install-data-local:
+ @echo "Create help directory"
+- $(MKDIR_P) $(helpdir)
++ $(MKDIR_P) $(DESTDIR)$(helpdir)
+ @echo "Copying help file"
+- cp xpad-user-help.txt $(helpdir)
++ cp xpad-user-help.txt $(DESTDIR)$(helpdir)
+
+ uninstall-local:
+ @echo "Delete help directory"