2009-03-13 13:58:47 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2009/03/13 17:58:47 jasper Exp $
|
2001-05-06 01:05:43 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= medical image conversion
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2009-03-13 13:58:47 -04:00
|
|
|
DISTNAME= xmedcon-0.10.4
|
|
|
|
SHARED_LIBS= mdc 2.1 # .2.1
|
2000-12-26 07:35:05 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://xmedcon.sourceforge.net
|
|
|
|
|
2009-03-13 13:58:47 -04:00
|
|
|
MAINTAINER= Benoit Lecocq <blq@arcane-labs.net>
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2009-03-13 13:58:47 -04:00
|
|
|
# GPLv2 - LGPLv2.1
|
2000-12-26 07:35:05 -05: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
|
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
|
|
|
WANTLIB += png z
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmedcon/}
|
2007-11-13 12:10:25 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2000-12-26 07:35:05 -05:00
|
|
|
|
2009-03-13 13:58:47 -04:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
|
|
|
|
|
|
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/xmedcon
|
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2005-12-26 15:10:49 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2009-03-13 13:58:47 -04:00
|
|
|
|
2000-12-26 07:35:05 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2009-03-13 13:58:47 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--with-png-prefix=${LOCALBASE} \
|
|
|
|
--sysconfdir="${SYSCONFDIR}"
|
|
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
2003-01-18 17:37:41 -05:00
|
|
|
|
2000-12-26 07:35:05 -05:00
|
|
|
.include <bsd.port.mk>
|