freebsd-ports/editors/gedit/Makefile

36 lines
846 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-10-19 00:25:17 +02:00
PORTVERSION= 0.9.3
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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>