2002-04-26 10:55:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.41 2002/04/26 14:55:21 brad Exp $
|
1999-03-19 02:33:56 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.45 1999/03/09 01:08:57 nectar Exp $
|
|
|
|
|
2001-04-06 15:07:24 -04:00
|
|
|
COMMENT= "image manipulation library for X11"
|
|
|
|
|
2001-11-10 15:45:48 -05:00
|
|
|
DISTNAME= imlib-1.9.11
|
2002-03-03 00:08:50 -05:00
|
|
|
CATEGORIES= graphics devel
|
2002-04-26 10:55:21 -04:00
|
|
|
NEED_VERSION= 1.522
|
2000-08-12 04:17:55 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/imlib
|
1999-03-19 02:33:56 -05:00
|
|
|
|
2001-11-10 15:45:48 -05:00
|
|
|
MODULES= gettext
|
|
|
|
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+ \
|
2001-11-01 16:16:53 -05:00
|
|
|
jpeg.62::graphics/jpeg \
|
2001-11-10 06:13:48 -05:00
|
|
|
ungif.5::graphics/libungif \
|
2001-05-23 22:27:06 -04:00
|
|
|
png.2::graphics/png \
|
2000-03-24 18:28:01 -05:00
|
|
|
tiff.35::graphics/tiff
|
2001-11-10 15:45:48 -05:00
|
|
|
BUILD_DEPENDS= ::graphics/jpeg
|
|
|
|
RUN_DEPENDS= ::graphics/jpeg
|
2000-03-05 13:30:21 -05:00
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
2000-06-15 15:08:11 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-03-04 00:29:36 -05:00
|
|
|
USE_X11= Yes
|
2000-03-05 13:30:21 -05:00
|
|
|
USE_GMAKE= Yes
|
1999-09-07 18:56:44 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-06-15 15:08:11 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-10-26 21:27:21 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2000-10-03 04:18:43 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-static --disable-modules
|
2001-11-10 15:45:48 -05:00
|
|
|
CONFIGURE_ENV= ac_cv_path_CONVERT_PROG="${LOCALBASE}/bin/convert" \
|
|
|
|
ac_cv_path_GIFTOPNM_PROG="${LOCALBASE}/bin/giftopnm" \
|
2002-04-26 10:55:21 -04:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
2001-03-03 23:54:48 -05:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
1999-03-19 02:33:56 -05:00
|
|
|
|
2001-11-11 08:57:32 -05:00
|
|
|
VMEM_WARNING= Yes
|
1999-03-30 01:43:18 -05:00
|
|
|
|
1999-03-19 02:33:56 -05:00
|
|
|
post-install:
|
2000-08-12 04:17:55 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imlib.m4 ${PREFIX}/share/aclocal
|
2001-04-18 15:26:50 -04:00
|
|
|
@cd ${PREFIX}/share/examples/imlib && mv imrc imrc-sample
|
1999-03-19 02:33:56 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|