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-04-17 13:31:19 +00:00
|
|
|
# $Id: Makefile,v 1.25 1998/04/15 22:17:53 jseger Exp $
|
1996-11-19 03:36:29 +00:00
|
|
|
#
|
|
|
|
|
1997-12-16 22:06:42 +00:00
|
|
|
MAJOR= 0
|
|
|
|
MINOR= 99
|
1998-04-17 13:31:19 +00:00
|
|
|
MICRO= 26
|
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
|
1998-03-28 19:49:58 +00:00
|
|
|
LIB_DEPENDS+= png\\.2\\.:${PORTSDIR}/graphics/png
|
1998-04-15 22:18:24 +00:00
|
|
|
LIB_DEPENDS+= jpeg\\.8\\.:${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
|
|
|
|