aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd2/Makefile')
-rw-r--r--graphics/gd2/Makefile72
1 files changed, 0 insertions, 72 deletions
diff --git a/graphics/gd2/Makefile b/graphics/gd2/Makefile
deleted file mode 100644
index a8153cb54441..000000000000
--- a/graphics/gd2/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# New ports collection makefile for: gd
-# Date created: 27 Mar 1998
-# Whom: jeff@cetlink.net
-#
-# $FreeBSD$
-#
-
-PORTNAME= gd
-PORTVERSION= 2.0.15
-CATEGORIES+= graphics
-MASTER_SITES= http://www.boutell.com/gd/http/ \
- ftp://ftp.boutell.com/pub/boutell/gd/ \
- ${MASTER_SITE_RINGSERVER}
-MASTER_SITE_SUBDIR= graphics/gd
-
-MAINTAINER?= ports@FreeBSD.org
-COMMENT?= A graphics library for fast creation of images
-
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
- png.5:${PORTSDIR}/graphics/png \
- freetype.9:${PORTSDIR}/print/freetype2
-
-LATEST_LINK= gd2
-
-MAKE_ENV= WRKSRC="${WRKSRC}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-MAKEFILE= ${FILESDIR}/Makefile.bsd
-INSTALLS_SHLIB= yes
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITHOUT_X11) || defined(WITHOUT_XPM)
-PKGNAMESUFFIX= -nox11
-.if !defined(WITHOUT_XPM)
-LIB_DEPENDS+= Xpm:${PORTSDIR}/graphics/xpm
-CPPFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include -DHAVE_LIBXPM \
- -DXPM_NOX
-LDFLAGS+= -L${X11BASE}/lib -lXpm
-.endif
-.else
-USE_XPM= yes
-CPPFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include -DHAVE_LIBXPM
-LDFLAGS+= -L${X11BASE}/lib -lXpm -lX11
-.endif
-
-.if defined(WITH_LZW) || defined(HAVE_UNISYS_LICENSE) || \
- (defined(USA_RESIDENT) && ${USA_RESIDENT} == "YES")
-CPPFLAGS+= -DLZW_LICENSED
-.endif
-
-.if defined(GD_FONTS)
-USE_PERL5_BUILD= yes
-SCRIPTS_ENV+= GD_FONTS="${GD_FONTS}"
-.endif
-
-pre-everything::
-.if !defined(WITH_LZW)
- @${ECHO_MSG} "************************************************************"
- @${ECHO_MSG} "* If you live outside US and Canada, you can define *"
- @${ECHO_MSG} "* WITH_LZW to enable GIF compression support. *"
- @${ECHO_MSG} "************************************************************"
-.endif
-
-post-extract:
- @${CP} ${FILESDIR}/g* ${WRKSRC}
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>