aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-05-30 14:32:32 +0800
committermezz <mezz@FreeBSD.org>2005-05-30 14:32:32 +0800
commiteb59ab081c260d80747ce18e18933e17a9058955 (patch)
treec0990f94ae7e319571f015edebb2454cd8c3241c
parent86302c7f6bcdb9df9e7adb69b9cc535560e42940 (diff)
downloadfreebsd-ports-gnome-eb59ab081c260d80747ce18e18933e17a9058955.tar.gz
freebsd-ports-gnome-eb59ab081c260d80747ce18e18933e17a9058955.tar.zst
freebsd-ports-gnome-eb59ab081c260d80747ce18e18933e17a9058955.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
-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