aboutsummaryrefslogtreecommitdiffstats
path: root/news/glitter/Makefile
blob: 6e3de6fe921d2377c2bdf97a82421e62edb358ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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>