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-11-30 18:16:36 +00:00
|
|
|
PORTVERSION= 0.9.4
|
1999-11-21 00:41:57 +00:00
|
|
|
CATEGORIES= editors gnome
|
2000-11-30 18:16:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gedit
|
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-11-14 14:10:15 +00:00
|
|
|
LIB_DEPENDS= gnomeprint.13:${PORTSDIR}/print/gnomeprint \
|
2000-07-11 22:02:22 +00:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade
|
1999-06-06 17:55:43 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-04-20 00:45:16 +00:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:10:50 +00:00
|
|
|
USE_GNOME= yes
|
2000-04-20 00:45:16 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
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>
|