1997-10-15 20:18:02 +00:00
|
|
|
# New ports collection makefile for: Gimp
|
1998-03-17 22:52:44 +00:00
|
|
|
# Version required: 0.99.19
|
1996-11-19 03:36:29 +00:00
|
|
|
# Date created: Mon Nov 18 21:28:43 CST 1996
|
|
|
|
# Whom: erich@FreeBSD.org
|
|
|
|
#
|
1998-03-22 00:07:36 +00:00
|
|
|
# $Id: Makefile,v 1.22 1998/03/21 09:26:10 asami Exp $
|
1996-11-19 03:36:29 +00:00
|
|
|
#
|
|
|
|
|
1997-12-16 22:06:42 +00:00
|
|
|
MAJOR= 0
|
|
|
|
MINOR= 99
|
1998-03-17 22:52:44 +00:00
|
|
|
MICRO= 21
|
1997-12-16 22:06:42 +00:00
|
|
|
|
|
|
|
VERSION= ${MAJOR}.${MINOR}.${MICRO}
|
|
|
|
MM_VERSION= ${MAJOR}.${MINOR}
|
1997-10-15 20:18:02 +00:00
|
|
|
|
|
|
|
DISTNAME= gimp-${VERSION}
|
1997-07-14 22:19:18 +00:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz
|
1998-03-17 22:52:44 +00:00
|
|
|
DISTFILES+= gimp-data-extras-${MM_VERSION}a.tar.gz
|
1997-10-15 20:18:02 +00:00
|
|
|
|
1998-03-17 22:52:44 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/v${MAJOR}.${MINOR}/v${VERSION}/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gimp/v${MAJOR}.${MINOR}/v${VERSION}/ \
|
1996-11-19 03:36:29 +00:00
|
|
|
|
|
|
|
MAINTAINER= erich@FreeBSD.org
|
|
|
|
|
1997-10-15 20:18:02 +00:00
|
|
|
LIB_DEPENDS+= gtk\\.1\\.0:${PORTSDIR}/x11/gtk
|
|
|
|
LIB_DEPENDS+= png\\.0\\.[7-9]:${PORTSDIR}/graphics/png
|
1996-11-20 11:11:35 +00:00
|
|
|
LIB_DEPENDS+= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg
|
1997-12-01 08:07:14 +00:00
|
|
|
LIB_DEPENDS+= tiff34\\.1\\.:${PORTSDIR}/graphics/tiff34
|
1996-11-19 03:36:29 +00:00
|
|
|
LIB_DEPENDS+= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
1997-10-15 20:18:02 +00:00
|
|
|
LIB_DEPENDS+= mpeg\\.1\\.2:${PORTSDIR}/graphics/mpeg-lib
|
1998-01-28 15:39:58 +00:00
|
|
|
LIB_DEPENDS+= xdelta\\.0:${PORTSDIR}/misc/xdelta
|
1996-11-19 03:36:29 +00:00
|
|
|
|
|
|
|
USE_X11= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
1998-01-28 15:39:58 +00:00
|
|
|
|
1998-03-17 22:52:44 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/tiff34" \
|
1997-12-18 20:40:24 +00:00
|
|
|
LIBS=-L${LOCALBASE}/lib INSTALL_SCRIPT='$${INSTALL} -m 755'
|
1996-11-19 03:36:29 +00:00
|
|
|
|
1997-04-18 21:26:41 +00:00
|
|
|
DATASTUFF= brushes palettes gradients patterns
|
|
|
|
|
|
|
|
post-install:
|
1997-12-16 23:25:38 +00:00
|
|
|
mkdir -p ${PREFIX}/share/gimp/;
|
1998-01-05 17:56:55 +00:00
|
|
|
cd ${WRKDIR}/gimp-data-extras-${MM_VERSION}a; \
|
1997-04-18 21:26:41 +00:00
|
|
|
tar -cf - --exclude '*Makefile*' ${DATASTUFF} |\
|
1997-12-16 23:25:38 +00:00
|
|
|
(cd ${PREFIX}/share/gimp/; tar -xvf -)
|
1997-12-16 22:06:42 +00:00
|
|
|
|
1996-11-19 03:36:29 +00:00
|
|
|
.include <bsd.port.mk>
|
1997-02-28 19:19:40 +00:00
|
|
|
|