freebsd-ports/french/gnome-verbiste/Makefile
Jean-Yves Lefort a6ecbdcfbd Add verbiste and gnome-verbiste.
Verbiste is a French conjugation system. It contains a C++ library, and two
programs that can be run from the command line or from another program. The
knowledge base is represented in XML and contains over 6800 verbs.

GNOME Verbiste is a GNOME frontend to the Verbiste French conjugation
system. It contains a GNOME program and a GNOME Panel applet. This applet
shows a text field in the GNOME Panel where the user can enter a conjugated
verb and obtain its complete conjugation.

WWW: http://sarrazip.com/dev/verbiste.html

PR:		ports/89407
Submitted by:	Dan Phillips <dan-ports@dp.id.au>
2005-11-29 18:40:51 +00:00

36 lines
1.1 KiB
Makefile

# New ports collection makefile for: gnome-verbiste
# Date created: 29 November 2005
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMEPREFIX= fr-gnome-
COMMENT= French verb conjugator/deconjugator (GNOME program and applet)
LIB_DEPENDS= verbiste-0.1:${PORTSDIR}/french/verbiste
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GNOME= gnomepanel
CONFIGURE_ARGS= --with-gnome
MASTERDIR= ${.CURDIR}/../verbiste
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/ s|po||; /^SUBDIRS =/ s|examples||' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/^SUBDIRS =/ s|verbiste commands||' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|^localedir = .*|localedir = ${LOCALBASE}/share/locale|' \
${WRKSRC}/src/gnome/Makefile.in
@${REINPLACE_CMD} -e 's|\.\./verbiste/libverbiste-$$(API)\.la|-lverbiste-$$(API)|; \
/^libdatadir =/ s|$$(datadir)|${LOCALBASE}/share|' \
${WRKSRC}/src/gui/Makefile.in ${WRKSRC}/src/gnome/Makefile.in
.include "${MASTERDIR}/Makefile"