freebsd-ports/graphics/diacanvas2/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

35 lines
812 B
Makefile

# ex:ts=8
# Ports collection makefile for: diacanvas2
# Date created: Feb 9, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= diacanvas2
PORTVERSION= 0.14.4
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= diacanvas
MAINTAINER= ports@FreeBSD.org
COMMENT= A general drawing canvas from dia dialog editor
USE_GNOME= gnomehack gnometarget pygnome2
USE_PYTHON= 2.2+
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|unit_tests doc|unit_tests|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>