aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-05-30 06:32:32 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-05-30 06:32:32 +0000
commit98202583b1f65b0e61c44272f52f39d364b6c833 (patch)
tree5251c10de43ed2e9881a6a7b95188ec3199a6bb9
parent5cb74649ae52bd5fe8d7bd88c79f9c765245eadb (diff)
downloadports-98202583b1f65b0e61c44272f52f39d364b6c833.tar.gz
ports-98202583b1f65b0e61c44272f52f39d364b6c833.zip
Fix the missing dependencies. A few days ago, kwm has clean up
libgnomeprintui by remove the un-need dependency. That made my change isn't right, so I am chasing it. Re-add GNOME option if libgnomeui exists, then enable and depend on it. Bump the PORTREVISION. Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=136409
-rw-r--r--editors/abiword-devel/Makefile12
-rw-r--r--editors/abiword-devel/pkg-plist2
2 files changed, 10 insertions, 4 deletions
diff --git a/editors/abiword-devel/Makefile b/editors/abiword-devel/Makefile
index 3cf6a21af813..822e06dad0ce 100644
--- a/editors/abiword-devel/Makefile
+++ b/editors/abiword-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= abiword
PORTVERSION= 2.3.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= editors
MASTER_SITES= http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/
MASTER_SITE_SUBDIR= abiword
@@ -40,8 +40,7 @@ CONFIGURE_ARGS= --enable-xft \
--with-libpng=${LOCALBASE} \
--with-libiconv=${LOCALBASE} \
--with-libjpeg-prefix=${LOCALBASE} \
- --disable-peer-config \
- --enable-gnome
+ --disable-peer-config
MAKEFILE= GNUmakefile
ABIVERSION= 2.4
@@ -63,6 +62,13 @@ PLIST_SUB+= DICT:=""
.include <bsd.port.pre.mk>
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_GNOME+= libgnomeui
+CONFIGURE_ARGS+= --enable-gnome
+PKGNAMESUFFIX= -devel-gnome
+#GNOME_ENABLED= yes
+.endif
+
.if defined(WITH_GUCHARMAP) || exists(${X11BASE}/libdata/pkgconfig/gucharmap.pc)
LIB_DEPENDS+= gucharmap.4:${PORTSDIR}/deskutils/gucharmap
.else
diff --git a/editors/abiword-devel/pkg-plist b/editors/abiword-devel/pkg-plist
index 2d18edd8ec19..ad06f4a122f0 100644
--- a/editors/abiword-devel/pkg-plist
+++ b/editors/abiword-devel/pkg-plist
@@ -202,7 +202,7 @@ share/AbiSuite-%%ABIVERSION%%/icons/abiword_16.xpm
share/AbiSuite-%%ABIVERSION%%/icons/abiword_48.png
share/AbiSuite-%%ABIVERSION%%/icons/abiword_48.tif
share/AbiSuite-%%ABIVERSION%%/icons/abiword_48.xpm
-share/AbiSuite-%%ABIVERSION%%/icons/abiword_logo.xpm
+%%GNOME:%%share/AbiSuite-%%ABIVERSION%%/icons/abiword_logo.xpm
share/AbiSuite-%%ABIVERSION%%/templates/A4.awt
share/AbiSuite-%%ABIVERSION%%/templates/Business-Letter.awt
share/AbiSuite-%%ABIVERSION%%/templates/Business-Report.awt