aboutsummaryrefslogtreecommitdiff
path: root/french/verbiste/Makefile
blob: 7b54ce86ecf1c02e4c33caebe317e61c907edb07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:	verbiste
# Date created:				16 November 2005
# Whom:					Dan Phillips <dan-ports@dp.id.au>
#
# $FreeBSD$
#

PORTNAME=	verbiste
PORTVERSION=	0.1.24
CATEGORIES=	french textproc
MASTER_SITES=	http://perso.b2b2c.ca/sarrazip/dev/

MAINTAINER=	timbob@bigpond.com
COMMENT=	French verb conjugator/deconjugator

OPTIONS=	GNOMEGUI	"With gnome gui"		no

USE_GETTEXT=	yes
USE_GNOME=	gnomehack ltverhack libxml2
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:22

CPPFLAGS=	-I${LOCALBASE}/include
LDFLAGS=	-L${LOCALBASE}/lib
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
USE_LDCONFIG=	yes

MAN1=		french-conjugator.1 french-deconjugator.1
MAN3=		verbiste.3
MANLANG=	"" fr

post-install:
	${MKDIR} ${EXAMPLESDIR}
.for f in README *.java *.c
	${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
.endfor
	${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}

.endif

.include <bsd.port.mk>