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
|
2000-10-18 18:25:17 -04:00
|
|
|
PORTVERSION= 0.9.3
|
1999-11-20 19:41:57 -05:00
|
|
|
CATEGORIES= editors gnome
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-06-06 13:55:43 -04:00
|
|
|
|
2000-03-29 17:34:41 -05:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-06-06 13:55:43 -04:00
|
|
|
|
2000-10-05 03:10:50 -04:00
|
|
|
LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint \
|
2000-07-11 18:02:22 -04:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade
|
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
|
2000-04-19 20:45:16 -04:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
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:
|
2000-08-03 21:34:38 -04: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 13:55:43 -04:00
|
|
|
.include <bsd.port.mk>
|