aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dia
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-07-10 13:03:21 +0800
committermarcus <marcus@FreeBSD.org>2006-07-10 13:03:21 +0800
commit308e0ba157e59b873c73a8d74b61c3292e73567f (patch)
treedde7229ddd8d4d9369b5efbd15a9b56735e5e0bb /graphics/dia
parent3af716906a28d3051e854a58570f93e3db65a473 (diff)
downloadfreebsd-ports-gnome-308e0ba157e59b873c73a8d74b61c3292e73567f.tar.gz
freebsd-ports-gnome-308e0ba157e59b873c73a8d74b61c3292e73567f.tar.zst
freebsd-ports-gnome-308e0ba157e59b873c73a8d74b61c3292e73567f.zip
Really fix the build by depending on docbook-xsl, and using the installed
docbook stylesheet rather than fetching it via HTTP.
Diffstat (limited to 'graphics/dia')
-rw-r--r--graphics/dia/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile
index 21fc57c7562d..15ce1f67dec4 100644
--- a/graphics/dia/Makefile
+++ b/graphics/dia/Makefile
@@ -16,6 +16,7 @@ DIST_SUBDIR= gnome2
MAINTAINER?= gnome@FreeBSD.org
COMMENT= Diagram creation program, similar to Visio
+BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_BZIP2= yes
@@ -37,7 +38,6 @@ USE_GNOME+= pygtk2
CONFIGURE_ARGS= --with-python
PLIST_SUB= PYTHON:=""
.else
-USE_PYTHON_BUILD=yes
PLIST_SUB= PYTHON:="@comment "
.endif
@@ -56,6 +56,10 @@ post-patch:
s,\(^GTK_CFLAGS = \),\1 ${PTHREAD_CFLAGS} ,'
.endif
+pre-configure:
+ @${REINPLACE_CMD} -e 's|http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl|' \
+ ${WRKSRC}/configure
+
post-install:
@${INSTALL_DATA} ${WRKSRC}/dia.xpm ${PREFIX}/share/gnome/dia/