1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/news/glitter/Makefile
Maxim Sobolev dbf0b411be Unbroke on bento and make it compliant with GNOME hier.
PR:		34361
Submitted by:	maintainer, sobomax
2002-05-22 12:44:08 +00:00

38 lines
891 B
Makefile

# New ports collection makefile for: glitter
# Date Created: 09 Dec 2000
# Whom: Greg Greenaae <greg@gregnet.net>
#
# $FreeBSD$
#
PORTNAME= glitter
PORTVERSION= 1.0.b.1
PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= http://mews.org.uk/glitter/\
ftp://ftp.gregnet.net/pub/FreeBSD/ports/news/glitter/
DISTNAME= ${PORTNAME}-1.0beta1
MAINTAINER= greg@gregnet.net
USE_X_PREFIX= yes
USE_GTK= yes
WANT_GNOME= yes
USE_GNOMELIBS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.if defined(HAVE_GNOME)
USE_GNOME= yes
.endif
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>