2011-04-18 18:17:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/04/18 22:17:44 sthen Exp $
|
2001-05-06 01:05:43 -04:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
COMMENT = medical image conversion
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
DISTNAME = xmedcon-0.10.7
|
2011-04-18 18:17:44 -04:00
|
|
|
REVISION = 0
|
2010-11-06 17:50:19 -04:00
|
|
|
SHARED_LIBS = mdc 2.1 # .2.1
|
|
|
|
CATEGORIES = graphics
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
HOMEPAGE = http://xmedcon.sourceforge.net
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2009-03-13 13:58:47 -04:00
|
|
|
# GPLv2 - LGPLv2.1
|
2010-11-06 17:50:19 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-11-13 12:10:25 -05:00
|
|
|
|
2009-03-13 13:58:47 -04:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2009-03-13 13:58:47 -04:00
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
2010-08-26 09:53:26 -04:00
|
|
|
WANTLIB += png pthread-stubs xcb z gthread-2.0 pthread xcb-render
|
2011-04-18 18:17:44 -04:00
|
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 GL Xxf86vm drm xcb-shm
|
2010-08-26 09:53:26 -04:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xmedcon/}
|
2007-11-13 12:10:25 -05:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
MODULES = devel/gettext
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS = x11/gtk+2
|
2009-03-13 13:58:47 -04:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
FAKE_FLAGS = sysconfdir=${TRUEPREFIX}/share/examples/xmedcon
|
2009-03-13 13:58:47 -04:00
|
|
|
|
2010-10-18 14:13:12 -04:00
|
|
|
USE_GROFF = Yes
|
2010-11-06 17:50:19 -04:00
|
|
|
USE_LIBTOOL = Yes
|
2009-03-13 13:58:47 -04:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
2009-03-13 13:58:47 -04:00
|
|
|
--enable-static \
|
|
|
|
--sysconfdir="${SYSCONFDIR}"
|
2010-11-06 17:50:19 -04:00
|
|
|
CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
2009-05-21 10:28:48 -04:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2009-03-13 13:58:47 -04:00
|
|
|
|
2010-11-06 17:50:19 -04:00
|
|
|
NO_REGRESS = Yes
|
2003-01-18 17:37:41 -05:00
|
|
|
|
2000-12-26 07:35:05 -05:00
|
|
|
.include <bsd.port.mk>
|