summaryrefslogtreecommitdiff
path: root/net-im/gnomeicu2/Makefile
blob: 124cd7d0d9f434cefaa9719e60951821f5ffc682 (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
# Ports collection Makefile for:	GnomeICU
# Date created:				03/16/1999
# Whom:					nectar@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	gnomeicu
PORTVERSION=	0.93
CATEGORIES=	net gnome
MASTER_SITES=	ftp://gnomeicu.gdev.net/pub/gnomeicu/ \
		ftp://ftp.vision.net.au/ftp7/linuxberg/files/gnome/com/ \
		ftp://ftp.datacomm.ch/.3/linuxberg/files/gnome/com/ \
		ftp://ftp.proxad.net/mirrors/ftp.linuxberg.com/files/gnome/com/

MAINTAINER=	nectar@FreeBSD.org

LIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm

USE_X_PREFIX=	yes
USE_BZIP2=	yes
USE_GNOME=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

pre-patch:
	@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'

.include <bsd.port.mk>