openbsd-ports/graphics/gimp/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.58 2001/04/11 23:26:25 brad Exp $
COMMENT= "the GNU Image Manipulation Program"
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
NEED_VERSION= 1.384
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/
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 \
tiff.35::graphics/tiff
BUILD_DEPENDS= wget:wget-*:net/wget
RUN_DEPENDS= ${BUILD_DEPENDS}
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
2001-01-25 19:34:29 -05:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-build:
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>