summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/dia/Makefile8
-rw-r--r--graphics/dia/pkg-plist1
2 files changed, 7 insertions, 2 deletions
diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile
index ff2fa135d1de..3d19b047baaf 100644
--- a/graphics/dia/Makefile
+++ b/graphics/dia/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dia
PORTVERSION= 0.93
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
@@ -21,9 +22,9 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= gtk20 gnomehack gnomeprefix libxslt libartlgpl2 lthack
+USE_GNOME= gtk20 gnomehack gnomeprefix libxslt libartlgpl2
WANT_GNOME= yes
-USE_LIBTOOL_VER=13
+USE_LIBTOOL_VER=15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl" \
LOCALBASE="${LOCALBASE}"
@@ -55,4 +56,7 @@ post-patch:
s,\(^GTK_CFLAGS = \),\1 ${PTHREAD_CFLAGS} ,'
.endif
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/dia.xpm ${PREFIX}/share/gnome/dia/
+
.include <bsd.port.post.mk>
diff --git a/graphics/dia/pkg-plist b/graphics/dia/pkg-plist
index 97fbb2801b3f..af5020eac254 100644
--- a/graphics/dia/pkg-plist
+++ b/graphics/dia/pkg-plist
@@ -25,6 +25,7 @@ lib/dia/libwpg_filter.so
lib/dia/libxfig_filter.so
lib/dia/libxslt_filter.so
share/gnome/applications/dia.desktop
+share/gnome/dia/dia.xpm
share/gnome/dia/dia_logo.png
share/gnome/dia/images/broken-chain.xpm
share/gnome/dia/images/unbroken-chain.xpm