mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
821919eb0b
PR: 42209 Submitted by: Edwin Groothuis <edwin@mavetju.org>
33 lines
840 B
Makefile
33 lines
840 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_GNOMENG= yes
|
|
USE_GNOME= gnomelibs gtk12
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
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>
|