aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2008-08-19 21:42:11 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2008-08-19 21:42:11 +0800
commitd4370ccace1f6fc7dcb120c416b53daa8826e708 (patch)
treeca377fa434b69202f23b0d598924a2151139f8a5 /french
parent1314bc257f0cff726c6a3215c4f9be626286a4bd (diff)
downloadfreebsd-ports-gnome-d4370ccace1f6fc7dcb120c416b53daa8826e708.tar.gz
freebsd-ports-gnome-d4370ccace1f6fc7dcb120c416b53daa8826e708.tar.zst
freebsd-ports-gnome-d4370ccace1f6fc7dcb120c416b53daa8826e708.zip
- Add optional Gnome support
- Bump PORTREVISION - Pass maintainership Submitted by: Timothy Bourke <timbob bigpond.com> (via private email)
Diffstat (limited to 'french')
-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