aboutsummaryrefslogtreecommitdiff
path: root/french/gnome-verbiste/Makefile
blob: 39095b01ab2890337523a66ae175049b3a8937c5 (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
# 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_GNOME=	gnomepanel
CONFIGURE_ARGS=	--with-gnome

MASTERDIR=	${.CURDIR}/../verbiste

BROKEN=		does not install

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"