freebsd-ports/x11-toolkits/rep-gtk2/Makefile
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: rep-gtk
# Date created: 06 October 1999
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/x11-toolkits/rep-gtk2/Makefile,v 1.8 2006/07/18 16:50:28 ahze Exp $
PORTNAME= rep-gtk2
PORTVERSION= 0.18
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
DISTNAME= rep-gtk-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= GTK+-2 binding for rep Lisp interpreter
LIB_DEPENDS= rep.12:${PORTSDIR}/lang/librep
PLIST_SUB= GNUHOST=${ARCH}-pc-freebsd${OSREL:C/\..*//}
USE_XLIB= yes
USE_GMAKE= yes
USE_GNOME= libglade2
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libglade
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibgnomeui}!=""
USE_GNOME+= libgnomeui
CONFIGURE_ARGS+= --with-gnome
PKGNAMESUFFIX= -gnome
.else
CONFIGURE_ARGS+= --without-gnome
.endif
.include <bsd.port.post.mk>