freebsd-ports/editors/gedit/Makefile

33 lines
764 B
Makefile
Raw Normal View History

# New ports collection makefile for: gedit
# Date created: 4 May 1999
# Whom: Andrey Zakhvatov
#
1999-08-25 01:57:29 -04:00
# $FreeBSD$
#
2000-04-13 20:25:54 -04:00
PORTNAME= gedit
2001-09-11 10:41:38 -04:00
PORTVERSION= 0.9.7
CATEGORIES= editors gnome
2000-11-30 13:16:36 -05:00
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gedit
MAINTAINER= gnome@FreeBSD.org
USE_X_PREFIX= yes
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
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= gedit.1
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|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>