freebsd-ports/editors/gedit2/Makefile

36 lines
849 B
Makefile
Raw Normal View History

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