freebsd-ports/graphics/chbg/Makefile
Alexander Leidinger a2e057b5e4 Unbreak port:
Don't explizitely add an implizit dependency (gdkpixbuf also adds gtk) in
 the non-GNOME case, else GNOMENG thinks we have GNOME and uses the GNOME
 pkg-plist.

Submitted by:	marcus
2002-09-19 17:41:30 +00:00

43 lines
977 B
Makefile

# New ports collection makefile for: chbg
# Date created: 10 Dec 1999
# Whom: Peter Jones <p@dancris.com>
#
# $FreeBSD$
#
PORTNAME= chbg
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.idata.sk/~ondrej/sw/
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= netchild@FreeBSD.org
# GNOME parts aren't prefix safe, they install into "gnome-config --prefix"
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= gdkpixbuf
WANT_GNOME= yes
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibcapplet} != ""
USE_GNOME+= gnomeprefix gnomehack libcapplet
PKGNAMESUFFIX= -gnome
.endif
MAN1= chbg.1
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>