2001-01-25 19:34:29 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.57 2001/01/26 00:34:29 brad Exp $
|
1999-03-21 01:38:59 -05:00
|
|
|
|
2001-01-25 19:34:29 -05:00
|
|
|
DISTNAME= gimp-1.2.1
|
1999-03-21 01:38:59 -05:00
|
|
|
CATEGORIES= graphics
|
2000-10-08 14:55:44 -04:00
|
|
|
NEED_VERSION= 1.336
|
2001-01-25 19:34:29 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/v1.2/v1.2.1/ \
|
|
|
|
ftp://ftp.sunet.se/pub/gnu/gimp/v1.2/v1.2.1/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/v1.2/v1.2.1/
|
1999-03-21 01:38:59 -05:00
|
|
|
|
2000-06-25 03:32:43 -04:00
|
|
|
HOMEPAGE= http://www.gimp.org/
|
|
|
|
|
2000-06-15 15:02:36 -04:00
|
|
|
LIB_DEPENDS= gtk.1.2::x11/gtk+ \
|
|
|
|
aa.1.3::graphics/aalib \
|
|
|
|
mpeg.13::graphics/mpeg-lib \
|
2000-06-25 18:20:24 -04:00
|
|
|
png.1::graphics/png \
|
2000-06-15 15:02:36 -04:00
|
|
|
tiff.35::graphics/tiff
|
2000-08-22 22:36:17 -04: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
|
2001-01-25 19:34:29 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
@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>
|