1999-06-06 17:55:43 +00:00
|
|
|
# New ports collection makefile for: gedit
|
|
|
|
# Date created: 4 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-06-06 17:55:43 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 00:25:54 +00:00
|
|
|
PORTNAME= gedit
|
2000-09-28 18:01:47 +00:00
|
|
|
PORTVERSION= 0.9.1
|
1999-11-21 00:41:57 +00:00
|
|
|
CATEGORIES= editors gnome
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-06-06 17:55:43 +00:00
|
|
|
|
2000-03-29 22:34:41 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-06-06 17:55:43 +00:00
|
|
|
|
2000-06-01 16:25:45 +00:00
|
|
|
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
|
2000-09-28 18:01:47 +00:00
|
|
|
gnomeprint.12:${PORTSDIR}/print/gnomeprint \
|
2000-07-11 22:02:22 +00:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade
|
2000-06-26 16:14:32 +00:00
|
|
|
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
|
2000-04-20 00:45:16 +00:00
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
1999-06-06 17:55:43 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-04-20 00:45:16 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
1999-06-06 17:55:43 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
|
|
|
--datadir=${PREFIX}/share/gnome
|
2000-04-20 00:45:16 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
1999-08-01 02:52:58 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-06-06 17:55:43 +00:00
|
|
|
|
|
|
|
MAN1= gedit.1
|
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${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'
|
|
|
|
|
1999-06-06 17:55:43 +00:00
|
|
|
.include <bsd.port.mk>
|