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