4ca0e60800
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly.
28 lines
726 B
Makefile
28 lines
726 B
Makefile
# 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>
|