1997-10-15 20:18:02 +00:00
|
|
|
# New ports collection makefile for: Gimp
|
1998-04-29 21:02:00 +00:00
|
|
|
# Version required: 0.99.28
|
1996-11-19 03:36:29 +00:00
|
|
|
# Date created: Mon Nov 18 21:28:43 CST 1996
|
|
|
|
# Whom: erich@FreeBSD.org
|
|
|
|
#
|
1998-05-27 18:36:05 +00:00
|
|
|
# $Id: Makefile,v 1.32 1998/05/21 21:28:51 mph Exp $
|
1996-11-19 03:36:29 +00:00
|
|
|
#
|
|
|
|
|
1997-12-16 22:06:42 +00:00
|
|
|
MAJOR= 0
|
|
|
|
MINOR= 99
|
1998-05-21 21:28:54 +00:00
|
|
|
MICRO= 31
|
1997-12-16 22:06:42 +00:00
|
|
|
|
1998-04-19 11:37:18 +00:00
|
|
|
VERSION= ${MAJOR}.${MINOR}.${MICRO}
|
|
|
|
MM_VERSION= ${MAJOR}.${MINOR}
|
1997-10-15 20:18:02 +00:00
|
|
|
|
1998-04-19 11:37:18 +00:00
|
|
|
DISTNAME= gimp-${VERSION}
|
1997-07-14 22:19:18 +00:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz
|
1998-04-19 11:37:18 +00:00
|
|
|
DISTFILES+= gimp-data-extras-${MM_VERSION}a.tar.gz
|
1997-10-15 20:18:02 +00:00
|
|
|
|
1998-04-19 11:37:18 +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
|
|
|
|
1998-04-19 11:37:18 +00:00
|
|
|
MAINTAINER= erich@FreeBSD.org
|
1996-11-19 03:36:29 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS+= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
1998-04-19 11:37:18 +00:00
|
|
|
LIB_DEPENDS+= aa\\.1\\.:${PORTSDIR}/graphics/aalib
|
1998-05-04 20:23:32 +00:00
|
|
|
LIB_DEPENDS+= jpeg\\.9\\.:${PORTSDIR}/graphics/jpeg
|
1998-05-27 18:36:05 +00:00
|
|
|
LIB_DEPENDS+= gtk\\.1\\.3:${PORTSDIR}/x11/gtk
|
1997-10-15 20:18:02 +00:00
|
|
|
LIB_DEPENDS+= mpeg\\.1\\.2:${PORTSDIR}/graphics/mpeg-lib
|
1998-04-19 11:37:18 +00:00
|
|
|
LIB_DEPENDS+= png\\.2\\.:${PORTSDIR}/graphics/png
|
|
|
|
LIB_DEPENDS+= tiff34\\.1\\.:${PORTSDIR}/graphics/tiff34
|
1998-05-27 18:36:05 +00:00
|
|
|
#LIB_DEPENDS+= xdelta\\.0\\.18:${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
|
|
|
|
1998-05-27 18:36:05 +00:00
|
|
|
MAN1= gimp.1 gimptool.1
|
|
|
|
MAN3= gpc.3
|
1998-04-29 21:02:00 +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>
|