freebsd-ports/graphics/gimp/Makefile

61 lines
1.9 KiB
Makefile
Raw Normal View History

1997-10-15 16:18:02 -04:00
# New ports collection makefile for: Gimp
1997-12-01 03:07:14 -05:00
# Version required: 0.99.14
# Date created: Mon Nov 18 21:28:43 CST 1996
# Whom: erich@FreeBSD.org
#
1997-12-16 17:06:42 -05:00
# $Id: Makefile,v 1.13 1997/12/01 08:05:34 tg Exp $
#
1997-12-16 17:06:42 -05:00
MAJOR= 0
MINOR= 99
MICRO= 16
VERSION= ${MAJOR}.${MINOR}.${MICRO}
MM_VERSION= ${MAJOR}.${MINOR}
1997-10-15 16:18:02 -04:00
DISTNAME= gimp-${VERSION}
DISTFILES= ${DISTNAME}.tar.gz
1997-12-16 17:06:42 -05:00
DISTFILES+= gimp-data-min-${MM_VERSION}.tar.gz \
gimp-data-extras-${MM_VERSION}.tar.gz
1997-10-15 16:18:02 -04:00
CATEGORIES= graphics
1997-12-16 17:06:42 -05:00
MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/0.99/${VERSION}/ \
ftp://ftp.cs.umn.edu/pub/gimp/gimp/0.99/${VERSION}/ \
MAINTAINER= erich@FreeBSD.org
1997-10-15 16:18:02 -04:00
LIB_DEPENDS+= gtk\\.1\\.0:${PORTSDIR}/x11/gtk
LIB_DEPENDS+= png\\.0\\.[7-9]:${PORTSDIR}/graphics/png
1996-11-20 06:11:35 -05:00
LIB_DEPENDS+= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg
1997-12-01 03:07:14 -05:00
LIB_DEPENDS+= tiff34\\.1\\.:${PORTSDIR}/graphics/tiff34
LIB_DEPENDS+= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
1997-10-15 16:18:02 -04:00
LIB_DEPENDS+= mpeg\\.1\\.2:${PORTSDIR}/graphics/mpeg-lib
LIB_DEPENDS+= tk80\\.1\\.:${PORTSDIR}/x11/tk80
USE_X11= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.0 \
1997-12-01 03:07:14 -05:00
-I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tiff34" \
1997-12-16 17:06:42 -05:00
LIBS=-L${LOCALBASE}/lib INSTALL_SCRIPT='$${INSTALL} -m 755'
CONFIGURE_ARGS= --with-tcl=tcl80 --with-tk=tk80
1997-04-18 17:26:41 -04:00
DATASTUFF= brushes palettes gradients patterns
post-install:
1997-12-16 17:06:42 -05:00
mkdir -p ${PREFIX}/share/gimp/${MM_VERSION};
cd ${WRKDIR}/gimp-data-min-${MM_VERSION}; \
tar -cf - --exclude '*Makefile*' ${MM_DATASTUFF} |\
(cd ${PREFIX}/share/gimp/${MM_VERSION}; tar -xvf -)
cd ${WRKDIR}/gimp-data-extras-${MM_VERSION}; \
1997-04-18 17:26:41 -04:00
tar -cf - --exclude '*Makefile*' ${DATASTUFF} |\
1997-12-16 17:06:42 -05:00
(cd ${PREFIX}/share/gimp/${MM_VERSION}; tar -xvf -)
post-extract:
rm -f ${WRKSRC}/plug-ins/gimptcl/scripts/consolio \
${WRKSRC}/plug-ins/gimptcl/scripts/pdb_help \
${WRKSRC}/plug-ins/gimptcl/scripts/stained_glass
1997-04-18 17:26:41 -04:00
.include <bsd.port.mk>
1997-02-28 14:19:40 -05:00