summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-02-26 22:42:40 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-02-26 22:42:40 +0000
commit77cb5dec8b543b93336c613b34b36a5c1ed04169 (patch)
tree5f96d47408de0b4b60808e2f19e8b570d5629a8a /editors
parentUpdate pkg-descr since HEAD != 5.X anymore. (diff)
-Remove nautilus2 dependency; it doesn't need it any longer. [1]
-While I am here, add a new knob, WITH_DEBUG. Submitted by: Zahemszky Gabor <Gabor@Zahemszky.HU> [1]
Notes
Notes: svn path=/head/; revision=129865
Diffstat (limited to 'editors')
-rw-r--r--editors/abiword-devel/Makefile11
-rw-r--r--editors/abiword/Makefile11
2 files changed, 18 insertions, 4 deletions
diff --git a/editors/abiword-devel/Makefile b/editors/abiword-devel/Makefile
index 9160059d5fcf..11625e59221a 100644
--- a/editors/abiword-devel/Makefile
+++ b/editors/abiword-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= abiword
PORTVERSION= 2.2.4
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/
@@ -46,6 +47,11 @@ ABIVERSION= 2.2
PLIST_SUB+= "ABIVERSION=${ABIVERSION}"
WRKSRC= ${WRKDIR}/abiword-${PORTVERSION}/abi
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug \
+ --enable-symbols
+.endif
+
.ifndef(WITHOUT_GTKSPELL)
LIB_DEPENDS+= enchant.2:${PORTSDIR}/textproc/enchant
PLIST_SUB+= DICT:="@comment "
@@ -56,8 +62,8 @@ PLIST_SUB+= DICT:=""
.include <bsd.port.pre.mk>
-.if ${HAVE_GNOME:Mnautilus2}!="" && ${HAVE_GNOME:Mlibgnomeprintui}!=""
-USE_GNOME+= nautilus2 libgnomeprintui desktopfileutils
+.if ${HAVE_GNOME:Mlibgnomeprintui}!=""
+USE_GNOME+= libgnomeprintui desktopfileutils
CONFIGURE_ARGS+= --enable-gnome
PKGNAMESUFFIX= -gnome
GNOME_ENABLED= yes
@@ -72,6 +78,7 @@ CONFIGURE_ARGS+= --enable-cmap=no
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "AbiWord2 has the following tunable option(s):"
+ @${ECHO_MSG} " WITH_DEBUG=yes Enable debug."
@${ECHO_MSG} " WITH_GUCHARMAP=yes Enable use of Gucharmap as the symbol insertion tool (default: auto)"
@${ECHO_MSG} " WITHOUT_GTKSPELL=yes Don't use Enchant, but still enable spellchecking and install the dictionary."
@${ECHO_MSG} ""
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index 9160059d5fcf..11625e59221a 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -7,6 +7,7 @@
PORTNAME= abiword
PORTVERSION= 2.2.4
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/
@@ -46,6 +47,11 @@ ABIVERSION= 2.2
PLIST_SUB+= "ABIVERSION=${ABIVERSION}"
WRKSRC= ${WRKDIR}/abiword-${PORTVERSION}/abi
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug \
+ --enable-symbols
+.endif
+
.ifndef(WITHOUT_GTKSPELL)
LIB_DEPENDS+= enchant.2:${PORTSDIR}/textproc/enchant
PLIST_SUB+= DICT:="@comment "
@@ -56,8 +62,8 @@ PLIST_SUB+= DICT:=""
.include <bsd.port.pre.mk>
-.if ${HAVE_GNOME:Mnautilus2}!="" && ${HAVE_GNOME:Mlibgnomeprintui}!=""
-USE_GNOME+= nautilus2 libgnomeprintui desktopfileutils
+.if ${HAVE_GNOME:Mlibgnomeprintui}!=""
+USE_GNOME+= libgnomeprintui desktopfileutils
CONFIGURE_ARGS+= --enable-gnome
PKGNAMESUFFIX= -gnome
GNOME_ENABLED= yes
@@ -72,6 +78,7 @@ CONFIGURE_ARGS+= --enable-cmap=no
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "AbiWord2 has the following tunable option(s):"
+ @${ECHO_MSG} " WITH_DEBUG=yes Enable debug."
@${ECHO_MSG} " WITH_GUCHARMAP=yes Enable use of Gucharmap as the symbol insertion tool (default: auto)"
@${ECHO_MSG} " WITHOUT_GTKSPELL=yes Don't use Enchant, but still enable spellchecking and install the dictionary."
@${ECHO_MSG} ""