mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
dbf0b411be
PR: 34361 Submitted by: maintainer, sobomax
38 lines
891 B
Makefile
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>
|