1997-10-15 20:18:02 +00:00
|
|
|
# New ports collection makefile for: Gimp
|
1998-01-05 17:56:55 +00:00
|
|
|
# Version required: 0.99.17
|
1996-11-19 03:36:29 +00:00
|
|
|
# Date created: Mon Nov 18 21:28:43 CST 1996
|
|
|
|
# Whom: erich@FreeBSD.org
|
|
|
|
#
|
1998-01-05 17:56:55 +00:00
|
|
|
# $Id: Makefile,v 1.16 1997/12/18 20:40:15 erich Exp $
|
1996-11-19 03:36:29 +00:00
|
|
|
#
|
|
|
|
|
1997-12-16 22:06:42 +00:00
|
|
|
MAJOR= 0
|
|
|
|
MINOR= 99
|
1998-01-05 17:56:55 +00:00
|
|
|
MICRO= 17
|
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-01-05 17:56:55 +00:00
|
|
|
DISTFILES+= gimp-data-min-${MM_VERSION}a.tar.gz \
|
|
|
|
gimp-data-extras-${MM_VERSION}a.tar.gz
|
1997-10-15 20:18:02 +00:00
|
|
|
|
1996-11-19 03:36:29 +00:00
|
|
|
CATEGORIES= graphics
|
1997-12-16 22:06:42 +00:00
|
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/0.99/${VERSION}/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gimp/0.99/${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
|
1997-10-16 09:04:37 +00:00
|
|
|
LIB_DEPENDS+= tk80\\.1\\.:${PORTSDIR}/x11/tk80
|
1996-11-19 03:36:29 +00:00
|
|
|
|
|
|
|
USE_X11= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
1997-10-16 09:04:37 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.0 \
|
1997-12-18 20:40:24 +00:00
|
|
|
-I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tiff34" \
|
|
|
|
LIBS=-L${LOCALBASE}/lib INSTALL_SCRIPT='$${INSTALL} -m 755'
|
1997-12-16 22:06:42 +00:00
|
|
|
CONFIGURE_ARGS= --with-tcl=tcl80 --with-tk=tk80
|
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-min-${MM_VERSION}a; \
|
1997-12-16 23:25:38 +00:00
|
|
|
tar -cf - --exclude '*Makefile*' ${DATASTUFF} |\
|
|
|
|
(cd ${PREFIX}/share/gimp/; tar -xvf -)
|
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
|
|
|
|