1997-02-13 09:51:45 -05:00
|
|
|
# New ports collection makefile for: gd
|
2000-03-19 16:47:49 -05:00
|
|
|
# Version required: 1.8.1
|
1998-04-04 09:25:54 -05:00
|
|
|
# Date created: 27 Mar 1998
|
1997-02-13 09:51:45 -05:00
|
|
|
# Whom: jeff@cetlink.net
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1997-02-13 09:51:45 -05:00
|
|
|
#
|
|
|
|
|
2000-03-19 16:47:49 -05:00
|
|
|
DISTNAME= gd-1.8.1
|
1997-02-13 09:51:45 -05:00
|
|
|
CATEGORIES= graphics
|
1998-06-24 23:13:16 -04:00
|
|
|
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
|
|
|
ftp://ftp.boutell.com/pub/boutell/gd/
|
1997-02-13 09:51:45 -05:00
|
|
|
|
2000-01-27 23:01:59 -05:00
|
|
|
MAINTAINER= billf@FreeBSD.org
|
1999-07-13 19:59:58 -04:00
|
|
|
|
2000-03-10 21:30:44 -05:00
|
|
|
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
2000-02-02 22:06:38 -05:00
|
|
|
.if defined(WANT_X11)
|
|
|
|
LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype \
|
1999-12-24 21:01:54 -05:00
|
|
|
Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
|
|
|
|
USE_XLIB= YES
|
2000-02-02 22:06:38 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if !defined(WANT_X11)
|
|
|
|
@${ECHO} -n "If you want to compile in X support use "
|
|
|
|
@${ECHO} "'make -DWANT_X11' instead"
|
|
|
|
.endif
|
1998-04-19 11:38:31 -04:00
|
|
|
|
1997-02-13 09:51:45 -05:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/gd
|
|
|
|
|
1999-12-27 16:26:46 -05:00
|
|
|
post-install:
|
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
1997-02-13 09:51:45 -05:00
|
|
|
.include <bsd.port.mk>
|