aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/bulb/Makefile
blob: 66c588fe47bcd6361a9c396ea183a7481877a90d (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
# Ports collection Makefile for:        bulb
# Date created:                         03/09/2000
# Whom:                                 smoberly@xavier.dyndns.org
#
# $FreeBSD$
#

PORTNAME=   bulb
PORTVERSION=    1.0.6
CATEGORIES= deskutils gnome
MASTER_SITES=   http://www.idiap.ch/~gobry/bulb/

MAINTAINER= smoberly@xavier.dyndns.org

USE_X_PREFIX=   yes
USE_GNOME=  yes
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 ; \
         s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
         s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure

.include <bsd.port.mk>