2002-06-14 13:18:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.71 2002/06/14 17:18:06 todd Exp $
|
2001-04-11 19:26:25 -04:00
|
|
|
|
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}
|
2002-06-14 13:18:06 -04:00
|
|
|
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 \
|
2000-06-15 15:02:36 -04:00
|
|
|
mpeg.13::graphics/mpeg-lib \
|
2001-05-23 22:27:06 -04:00
|
|
|
png.2::graphics/png \
|
2000-06-15 15:02:36 -04:00
|
|
|
tiff.35::graphics/tiff
|
2001-11-10 10:00:47 -05:00
|
|
|
BUILD_DEPENDS= :wget-*:net/wget
|
|
|
|
RUN_DEPENDS= :wget-*:net/wget
|
2000-06-15 15:02:36 -04:00
|
|
|
|
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
|
2000-06-15 15:02:36 -04:00
|
|
|
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
|
1998-06-08 13:16:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|