aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/imagination
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-24 19:08:57 +0800
committertijl <tijl@FreeBSD.org>2014-07-24 19:08:57 +0800
commit8911fba7eb2858ea504b02902b096a733c4a396a (patch)
tree60609f693070cdd31af2766cf4c2605758530d54 /multimedia/imagination
parent319bc983d4f74c9aa9ebfeb3a60ee5bfe11429c8 (diff)
downloadfreebsd-ports-gnome-8911fba7eb2858ea504b02902b096a733c4a396a.tar.gz
freebsd-ports-gnome-8911fba7eb2858ea504b02902b096a733c4a396a.tar.zst
freebsd-ports-gnome-8911fba7eb2858ea504b02902b096a733c4a396a.zip
- Add INSTALL_TARGET=install-strip
- Replace two patches with a post-patch command
Diffstat (limited to 'multimedia/imagination')
-rw-r--r--multimedia/imagination/Makefile4
-rw-r--r--multimedia/imagination/files/patch-Makefile.am10
-rw-r--r--multimedia/imagination/files/patch-Makefile.in11
3 files changed, 4 insertions, 21 deletions
diff --git a/multimedia/imagination/Makefile b/multimedia/imagination/Makefile
index 1dd4b231bcae..03246ba83abc 100644
--- a/multimedia/imagination/Makefile
+++ b/multimedia/imagination/Makefile
@@ -17,6 +17,7 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig pathfix libtool
USE_GNOME= gtk20 intltool intlhack libxslt
INSTALLS_ICONS= yes
+INSTALL_TARGET= install-strip
LIBS+= `pkg-config --libs gmodule-2.0`
@@ -25,4 +26,7 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+post-patch:
+ @${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/multimedia/imagination/files/patch-Makefile.am b/multimedia/imagination/files/patch-Makefile.am
deleted file mode 100644
index 789b547bc7d5..000000000000
--- a/multimedia/imagination/files/patch-Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./Makefile.am.orig 2011-04-22 20:03:18.000000000 -0300
-+++ ./Makefile.am 2011-04-22 20:03:24.000000000 -0300
-@@ -1,6 +1,6 @@
- ## Process this file with automake to produce Makefile.in
-
--SUBDIRS = icons src transitions po doc
-+SUBDIRS = icons src transitions po
-
- EXTRA_DIST = \
- autogen.sh \
diff --git a/multimedia/imagination/files/patch-Makefile.in b/multimedia/imagination/files/patch-Makefile.in
deleted file mode 100644
index 8289be0fb391..000000000000
--- a/multimedia/imagination/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./Makefile.in.orig 2011-04-22 20:04:08.000000000 -0300
-+++ ./Makefile.in 2011-04-22 20:03:44.000000000 -0300
-@@ -276,7 +276,7 @@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = icons src transitions po doc
-+SUBDIRS = icons src transitions po
- EXTRA_DIST = \
- autogen.sh \
- imagination.desktop.in \