2000-02-15 00:03:51 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2000/02/15 05:04:32 turan Exp $
|
1999-03-21 01:38:59 -05:00
|
|
|
|
2000-02-07 05:06:16 -05:00
|
|
|
DISTNAME= gimp-1.1.16
|
1999-03-21 01:38:59 -05:00
|
|
|
CATEGORIES= graphics
|
2000-02-07 05:06:16 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v1.1.16/ \
|
|
|
|
ftp://ftp.sunet.se/pub/gnu/gimp/unstable/v1.1.16/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/unstable/v1.1.16/
|
1999-03-21 01:38:59 -05:00
|
|
|
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
|
2000-02-12 03:02:07 -05:00
|
|
|
LICENSE_TYPE= GPL
|
2000-02-15 00:03:51 -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
|
|
|
|
2000-01-05 22:10:56 -05:00
|
|
|
LIB_DEPENDS= gtk.1.2:${PORTSDIR}/x11/gtk+ \
|
1999-10-28 22:02:11 -04:00
|
|
|
aa.1.3:${PORTSDIR}/graphics/aalib \
|
1999-05-05 16:51:09 -04:00
|
|
|
jpeg.62:${PORTSDIR}/graphics/jpeg \
|
2000-01-09 00:57:48 -05:00
|
|
|
mpeg.13:${PORTSDIR}/graphics/mpeg-lib \
|
1999-05-05 16:51:09 -04:00
|
|
|
png.1.3:${PORTSDIR}/graphics/png \
|
1999-10-28 22:02:11 -04:00
|
|
|
tiff.35:${PORTSDIR}/graphics/tiff
|
1999-03-21 01:38:59 -05:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= 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" \
|
|
|
|
GTK_CONFIG="${X11BASE}/bin/gtk-config"
|
1998-06-08 13:16:07 -04:00
|
|
|
|
1999-04-08 00:21:52 -04:00
|
|
|
# People that installed an older version of gimp 1.1.x wound up with
|
|
|
|
# shared libs with a major/minor of 1.3 or 1.4 ... these files
|
|
|
|
# MUST be removed as the version was incorrect (it came from 1.1.x
|
|
|
|
# sources). Check that out here (and bitch if necessary).
|
|
|
|
pre-extract:
|
|
|
|
@if [ -f ${X11BASE}/lib/libgimp.so.1.3 -o -f ${X11BASE}/lib/libgimp.so.1.4 ]; then \
|
|
|
|
echo "+-------------------"; \
|
|
|
|
echo "| ERROR: you MUST remove the existing gimp installation"; \
|
|
|
|
echo "| before installing this version. To fully remove run"; \
|
|
|
|
echo "| these commands as user root"; \
|
|
|
|
echo "|"; \
|
|
|
|
echo "| pkg_delete -f `pkg_info -e 'gimp-*'`"; \
|
|
|
|
echo "| ldconfig ${X11BASE}/lib"; \
|
|
|
|
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
|
1999-10-28 22:02:11 -04:00
|
|
|
@${LDCONFIG} -m ${PREFIX}/lib
|
1998-06-08 13:16:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|