openbsd-ports/graphics/imlib/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

2000-08-12 04:17:55 -04:00
# $OpenBSD: Makefile,v 1.22 2000/08/12 08:17:55 brad Exp $
1999-03-19 02:33:56 -05:00
# $FreeBSD: Makefile,v 1.45 1999/03/09 01:08:57 nectar Exp $
2000-08-12 04:17:55 -04:00
DISTNAME= imlib-1.9.8.1
1999-03-19 02:33:56 -05:00
CATEGORIES= graphics
NEED_VERSION= 1.310
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+ \
gif.4.1::graphics/giflib \
jpeg.62::graphics/jpeg \
2000-06-25 18:20:24 -04:00
png.1::graphics/png \
tiff.35::graphics/tiff
2000-08-12 04:17:55 -04:00
BUILD_DEPENDS= convert::graphics/ImageMagick
RUN_DEPENDS= convert::graphics/ImageMagick
2000-03-05 13:30:21 -05:00
MAINTAINER= brad@openbsd.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-03-05 13:30:21 -05:00
USE_GMAKE= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
1999-10-26 21:27:21 -04:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
1999-03-19 02:33:56 -05:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
1999-03-19 02:33:56 -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
cd ${PREFIX}/share/examples/imlib && mv imrc imrc-sample
1999-03-19 02:33:56 -05:00
.include <bsd.port.mk>