2001-04-18 15:26:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2001/04/18 19:26:50 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"
|
|
|
|
|
2000-08-12 04:17:55 -04:00
|
|
|
DISTNAME= imlib-1.9.8.1
|
2000-08-17 08:36:26 -04:00
|
|
|
CATEGORIES= devel graphics
|
2001-04-06 15:07:24 -04:00
|
|
|
NEED_VERSION= 1.384
|
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
|
|
|
|
2000-08-12 04:17:55 -04:00
|
|
|
LIB_DEPENDS= gtk.1.2::x11/gtk+ \
|
2000-03-24 18:28:01 -05:00
|
|
|
gif.4.1::graphics/giflib \
|
2000-06-25 18:20:24 -04:00
|
|
|
png.1::graphics/png \
|
2000-03-24 18:28:01 -05:00
|
|
|
tiff.35::graphics/tiff
|
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
|
1999-03-19 02:33:56 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-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
|
|
|
|
1999-03-30 01:43:18 -05:00
|
|
|
pre-build:
|
|
|
|
@echo ""
|
|
|
|
@echo "*** WARNING: you may see an error such as"
|
|
|
|
@echo "*** virtual memory exhausted"
|
|
|
|
@echo "*** when building this package. If you do you must increase"
|
|
|
|
@echo "*** your limits. See the man page for your shell and look"
|
|
|
|
@echo "*** for the 'limit' or 'ulimit' command."
|
|
|
|
@echo ""
|
|
|
|
|
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>
|