aboutsummaryrefslogtreecommitdiff
path: root/graphics/dia
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-07-10 05:03:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-07-10 05:03:21 +0000
commita9c8f80cb79cc0a30a470268e6570ab0bdc8a65b (patch)
tree906891460525996c21a8eb2f26128e8bd7fa06c9 /graphics/dia
parent8e69bf57cb0abf13e59d3e5f6df11107c1cfbefe (diff)
downloadports-a9c8f80cb79cc0a30a470268e6570ab0bdc8a65b.tar.gz
ports-a9c8f80cb79cc0a30a470268e6570ab0bdc8a65b.zip
Notes
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/