openbsd-ports/graphics/gimp/Makefile

55 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.71 2002/06/14 17:18:06 todd Exp $
2001-06-05 16:16:03 -04:00
COMMENT= "GNU Image Manipulation Program"
1999-03-21 01:38:59 -05:00
2001-08-08 21:43:16 -04:00
VERSION= 1.2.2
2001-08-03 09:50:21 -04:00
DISTNAME= gimp-${VERSION}
PKGNAME= ${DISTNAME}p1
1999-03-21 01:38:59 -05:00
CATEGORIES= graphics
2001-10-28 21:06:52 -05:00
NEED_VERSION= 1.486
2002-05-13 19:31:24 -04:00
V= gimp/v1.2/${VERSION}
MASTER_SITES= ftp://ftp.gimp.org/pub/$V/ \
ftp://ftp.sunet.se/pub/gnu/$V/ \
ftp://ftp.cs.umn.edu/pub/$V/ \
ftp://ftp.funet.fi/pub/mirrors/ftp.gimp.org/$V/
1999-03-21 01:38:59 -05:00
2000-06-25 03:32:43 -04:00
HOMEPAGE= http://www.gimp.org/
2001-10-31 21:39:05 -05:00
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+ \
aa.1.3::graphics/aalib \
mpeg.13::graphics/mpeg-lib \
png.2::graphics/png \
tiff.35::graphics/tiff
BUILD_DEPENDS= :wget-*:net/wget
RUN_DEPENDS= :wget-*:net/wget
2000-09-24 03:03:59 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
1999-03-21 01:38:59 -05:00
2000-02-16 00:19:59 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
2001-01-25 19:34:29 -05:00
USE_X11= Yes
CONFIGURE_STYLE= gnu
1999-03-30 01:52:48 -05:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --disable-perl
2002-04-27 12:38:26 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
2001-01-25 19:34:29 -05:00
LDFLAGS="-L${LOCALBASE}/lib"
2001-05-15 09:11:06 -04:00
pre-extract:
2001-01-25 19:34:29 -05:00
@if [ -f ${LOCALBASE}/lib/libgimp.so.?.? ]; then \
echo "+-------------------"; \
echo "| ERROR: you MUST remove the existing gimp installation"; \
echo "| before compiling this version. To fully remove run"; \
echo "| these commands as user root"; \
echo "|"; \
echo "| pkg_delete -f `pkg_info -e 'gimp-*'`"; \
echo "| ldconfig -R"; \
echo "|"; \
echo "+-------------------"; \
exit 1; \
fi
.include <bsd.port.mk>