aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/