61e9d51eae
giovanni@
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.94 2013/04/16 13:53:40 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= technical diagrams drawing tool
|
|
|
|
GNOME_PROJECT= dia
|
|
GNOME_VERSION= 0.97.2
|
|
REVISION= 6
|
|
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= http://live.gnome.org/Dia/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
|
WANTLIB += Xrandr Xrender art_lgpl_2 atk-1.0 c cairo expat ffi
|
|
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
|
|
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
|
|
WANTLIB += gtk-x11-2.0 harfbuzz icudata icule icuuc m pango-1.0
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
|
|
WANTLIB += pthread-stubs xcb xcb-render xcb-shm xml2 xslt z
|
|
|
|
RUN_DEPENDS= devel/xdg-utils
|
|
BUILD_DEPENDS= textproc/docbook-xsl
|
|
LIB_DEPENDS= x11/gtk+2 \
|
|
graphics/libart \
|
|
textproc/libxslt
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
MODGNOME_DESKTOP_FILE= Yes
|
|
MODGNOME_ICON_CACHE= Yes
|
|
MODGNOME_CPPFLAGS= -I${LOCALBASE}/include/libpng
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= --disable-static \
|
|
--with-cairo \
|
|
--without-hardbooks \
|
|
--without-python \
|
|
--without-swig \
|
|
--disable-db2html \
|
|
--disable-libemf \
|
|
--disable-gnome
|
|
|
|
post-install:
|
|
mv ${PREFIX}/share/man/fr ${PREFIX}/man
|
|
rmdir ${PREFIX}/share/man/ ${PREFIX}/share/oaf/
|
|
|
|
.include <bsd.port.mk>
|