2000-06-01 18:34:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2000/06/01 22:34:00 fgsch Exp $
|
1999-03-21 01:38:59 -05:00
|
|
|
|
2000-06-01 18:34:00 -04:00
|
|
|
DISTNAME= gimp-1.1.23
|
1999-03-21 01:38:59 -05:00
|
|
|
CATEGORIES= graphics
|
2000-05-21 16:01:01 -04:00
|
|
|
NEED_VERSION= 1.230
|
2000-06-01 18:34:00 -04:00
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/v1.1/v1.1.23/ \
|
|
|
|
ftp://ftp.sunet.se/pub/gnu/gimp/v1.1/v1.1.23/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/v1.1/v1.1.23/
|
1999-03-21 01:38:59 -05:00
|
|
|
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
|
2000-02-16 00:19:59 -05:00
|
|
|
LICENSE_TYPE= GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
LIB_DEPENDS= gtk.1.2::x11/gtk+ \
|
|
|
|
aa.1.3::graphics/aalib \
|
|
|
|
mpeg.13::graphics/mpeg-lib \
|
2000-05-21 08:38:59 -04:00
|
|
|
png.1.6::graphics/png \
|
2000-03-24 18:28:01 -05:00
|
|
|
tiff.35::graphics/tiff
|
1999-03-21 01:38:59 -05:00
|
|
|
|
2000-02-16 00:19:59 -05:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
GNU_CONFIGURE= Yes
|
2000-03-07 21:46:02 -05:00
|
|
|
FAKE= Yes
|
1999-03-30 01:52:48 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static --disable-perl
|
1999-03-21 01:38:59 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-03-30 01:52:48 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2000-03-07 21:46:02 -05:00
|
|
|
GTK_CONFIG="${LOCALBASE}/bin/gtk-config"
|
1998-06-08 13:16:07 -04:00
|
|
|
|
2000-06-01 18:34:00 -04:00
|
|
|
# People that installed a previous version of gimp wound up with
|
|
|
|
# shared libs that might not contain all the functions needed to
|
|
|
|
# link the current objects.
|
|
|
|
# Check that out here (and bitch if necessary).
|
1999-04-08 00:21:52 -04:00
|
|
|
pre-extract:
|
2000-06-01 18:34:00 -04:00
|
|
|
@if [ -f ${X11BASE}/lib/libgimp.so.?.? -o \
|
|
|
|
-f ${LOCALBASE}/lib/libgimp.so.?.? ]; then \
|
1999-04-08 00:21:52 -04:00
|
|
|
echo "+-------------------"; \
|
|
|
|
echo "| ERROR: you MUST remove the existing gimp installation"; \
|
2000-06-01 18:34:00 -04:00
|
|
|
echo "| before compiling this version. To fully remove run"; \
|
1999-04-08 00:21:52 -04:00
|
|
|
echo "| these commands as user root"; \
|
|
|
|
echo "|"; \
|
|
|
|
echo "| pkg_delete -f `pkg_info -e 'gimp-*'`"; \
|
2000-05-31 18:02:29 -04:00
|
|
|
echo "| ldconfig -R"; \
|
1999-04-08 00:21:52 -04:00
|
|
|
echo "|"; \
|
|
|
|
echo "+-------------------"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
|
1998-06-08 13:16:07 -04:00
|
|
|
post-install:
|
2000-02-11 01:30:49 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gimp.m4 ${PREFIX}/share/aclocal
|
1998-06-08 13:16:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|