1999-06-06 13:55:43 -04:00
|
|
|
# New ports collection makefile for: gedit
|
|
|
|
# Date created: 4 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1999-06-06 13:55:43 -04:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:25:54 -04:00
|
|
|
PORTNAME= gedit
|
2001-09-11 10:41:38 -04:00
|
|
|
PORTVERSION= 0.9.7
|
1999-11-20 19:41:57 -05:00
|
|
|
CATEGORIES= editors gnome
|
2000-11-30 13:16:36 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gedit
|
1999-06-06 13:55:43 -04:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1999-06-06 13:55:43 -04:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-04-19 20:45:16 -04:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_GNOME= yes
|
2001-09-11 10:41:38 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2000-04-19 20:45:16 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-07-31 22:52:58 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-06-06 13:55:43 -04:00
|
|
|
|
|
|
|
MAN1= gedit.1
|
|
|
|
|
2000-08-04 12:11:37 -04:00
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-03 21:34:38 -04:00
|
|
|
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 13:55:43 -04:00
|
|
|
.include <bsd.port.mk>
|