2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2009/08/10 06:31:44 kili Exp $
|
2009-06-04 08:59:33 -04:00
|
|
|
|
|
|
|
COMMENT = Amide a Medical Imaging Data Examiner
|
|
|
|
|
|
|
|
DISTNAME = amide-0.9.1
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME = ${DISTNAME}p1
|
2009-06-04 08:59:33 -04:00
|
|
|
CATEGORIES = graphics
|
|
|
|
|
|
|
|
HOMEPAGE = http://amide.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
|
|
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
|
|
|
|
WANTLIB += c cairo crypto dbus-1 dbus-glib-1 expat fontconfig
|
|
|
|
WANTLIB += freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0
|
|
|
|
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
|
|
WANTLIB += pcre pixman-1 png pthread ssl stdc++ util xml2 z
|
2009-06-28 17:46:38 -04:00
|
|
|
WANTLIB += avahi-client avahi-common avahi-glib
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB += pthread-stubs xcb
|
2009-06-28 17:46:38 -04:00
|
|
|
|
2009-06-04 08:59:33 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=amide/}
|
|
|
|
|
|
|
|
EXTRACT_SUFX = .tgz
|
|
|
|
|
|
|
|
MODULES = devel/gettext \
|
|
|
|
textproc/intltool
|
|
|
|
|
|
|
|
BUILD_DEPENDS = ::devel/m4 \
|
|
|
|
::x11/gnome/doc-utils
|
|
|
|
RUN_DEPENDS = ::devel/desktop-file-utils \
|
|
|
|
::x11/gnome/yelp
|
|
|
|
LIB_DEPENDS = gsl.>=7,gslcblas:gsl->=1.6:devel/gsl \
|
|
|
|
gnomecanvas-2.>=1400::x11/gnome/libgnomecanvas \
|
|
|
|
gnomevfs-2.>=2400::x11/gnome/vfs2 \
|
|
|
|
mdc.>=2::graphics/xmedcon
|
|
|
|
|
|
|
|
USE_X11 = Yes
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig" \
|
|
|
|
XMEDCON_CONFIG="${LOCALBASE}/bin/xmedcon-config"
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
|
|
--disable-scrollkeeper \
|
|
|
|
--disable-xmedcontest \
|
|
|
|
--disable-libfame \
|
|
|
|
--disable-libdcmdata
|
|
|
|
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@rm -f ${WRKSRC}/src/ui_common.c.orig
|
2009-06-28 17:46:38 -04:00
|
|
|
|
2009-06-04 08:59:33 -04:00
|
|
|
.include <bsd.port.mk>
|