1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/graphics/diacanvas2/Makefile
Edwin Groothuis f1bedce44e [UPDATE] updating graphics/diacanvas2 to 0.14.1 and fix problem
with python bindings

	This patch updates the port graphics/diacanvas2 to 0.14.1
	and marks it as unbroken.

	Please commit PR/73309
	(http://www.freebsd.org/cgi/query-pr.cgi?pr=73309) before
	testing/commiting this patch.

	If someone is interested, I could also take maintainership
	for this port.

PR:		ports/73310
Submitted by:	Jens Rehsack <rehsack@liwing.de>
2005-01-12 22:49:19 +00:00

42 lines
941 B
Makefile

# ex:ts=8
# Ports collection makefile for: diacanvas2
# Date created: Feb 9, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= diacanvas2
PORTVERSION= 0.14.1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= diacanvas
MAINTAINER= rehsack@liwing.de
COMMENT= A general drawing canvas from dia dialog editor
USE_GNOME= gnomehack gnometarget pygnome2
USE_PYTHON= 2.2+
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|unit_tests doc|unit_tests|g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/ref/html/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/ref/html/*.png ${DOCSDIR}
.endif
.include <bsd.port.mk>