1999-06-06 19:55:43 +02:00
|
|
|
# New ports collection makefile for: gedit
|
|
|
|
# Date created: 4 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-06-06 19:55:43 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= gedit
|
2000-11-30 19:16:36 +01:00
|
|
|
PORTVERSION= 0.9.4
|
1999-11-21 01:41:57 +01:00
|
|
|
CATEGORIES= editors gnome
|
2000-11-30 19:16:36 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gedit
|
1999-06-06 19:55:43 +02:00
|
|
|
|
2000-03-30 00:34:41 +02:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-06-06 19:55:43 +02:00
|
|
|
|
2000-11-14 15:10:15 +01:00
|
|
|
LIB_DEPENDS= gnomeprint.13:${PORTSDIR}/print/gnomeprint \
|
2000-07-12 00:02:22 +02:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade
|
1999-06-06 19:55:43 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-04-20 02:45:16 +02:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 09:10:50 +02:00
|
|
|
USE_GNOME= yes
|
2000-04-20 02:45:16 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-08-01 04:52:58 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-06-06 19:55:43 +02:00
|
|
|
|
|
|
|
MAN1= gedit.1
|
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2000-08-04 03:34:38 +02: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 19:55:43 +02:00
|
|
|
.include <bsd.port.mk>
|