aboutsummaryrefslogtreecommitdiff
path: root/french/verbiste
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2008-08-19 13:42:11 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2008-08-19 13:42:11 +0000
commitc1b0cdc25b9d46a10483050dbb96802c74ba5e5f (patch)
tree4cde8f535645fafc6e760a6700612cee75c1c5c8 /french/verbiste
parenteb9491cc5dae5f9adb629a5125870dfffe92d545 (diff)
downloadports-c1b0cdc25b9d46a10483050dbb96802c74ba5e5f.tar.gz
ports-c1b0cdc25b9d46a10483050dbb96802c74ba5e5f.zip
- Add optional Gnome support
- Bump PORTREVISION - Pass maintainership Submitted by: Timothy Bourke <timbob bigpond.com> (via private email)
Notes
Notes: svn path=/head/; revision=218837
Diffstat (limited to 'french/verbiste')
-rw-r--r--french/verbiste/Makefile16
-rw-r--r--french/verbiste/pkg-plist4
2 files changed, 17 insertions, 3 deletions
diff --git a/french/verbiste/Makefile b/french/verbiste/Makefile
index 896da9b6cd05..2eb026111c11 100644
--- a/french/verbiste/Makefile
+++ b/french/verbiste/Makefile
@@ -7,15 +7,17 @@
PORTNAME= verbiste
PORTVERSION= 0.1.23
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= french textproc
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/
-MAINTAINER= tabthorpe@FreeBSD.org
+MAINTAINER= timbob@bigpond.com
COMMENT= French verb conjugator/deconjugator
+OPTIONS= GNOMEGUI "With gnome gui" no
+
USE_GETTEXT= yes
-USE_GNOME+= gnomehack ltverhack libxml2
+USE_GNOME= gnomehack ltverhack libxml2
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
@@ -24,6 +26,14 @@ LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+.if defined(WITH_GNOMEGUI)
+CONFIGURE_ARGS= --with-gnome-app
+USE_GNOME+= gnomeprefix libgnomeui
+PLIST_SUB= HASGUI=""
+.else
+PLIST_SUB= HASGUI="@comment "
+.endif
+
.if !defined(PKGNAMEPREFIX)
USE_ICONV= yes
diff --git a/french/verbiste/pkg-plist b/french/verbiste/pkg-plist
index b7432f2c31aa..e5909681d113 100644
--- a/french/verbiste/pkg-plist
+++ b/french/verbiste/pkg-plist
@@ -1,5 +1,6 @@
bin/french-conjugator
bin/french-deconjugator
+%%HASGUI%%bin/verbiste
include/verbiste-0.1/verbiste/FrenchVerbDictionary.h
include/verbiste-0.1/verbiste/Trie.cpp
include/verbiste-0.1/verbiste/Trie.h
@@ -10,6 +11,9 @@ lib/libverbiste-0.1.la
lib/libverbiste-0.1.so
lib/libverbiste-0.1.so.0
libdata/pkgconfig/verbiste-0.1.pc
+%%HASGUI%%share/applications/verbiste.desktop
+%%HASGUI%%share/locale/fr/LC_MESSAGES/verbiste.mo
+%%HASGUI%%share/pixmaps/verbiste.png
%%DOCSDIR%%/AUTHORS
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/INSTALL