2006-02-19 09:09:44 +01:00
|
|
|
# New ports collection makefile for: libgdiplus
|
|
|
|
# Date created: 20040820
|
|
|
|
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-23 05:32:36 +02:00
|
|
|
# $Id: Makefile,v 1.42 2007/09/08 22:11:12 killfill Exp $
|
2006-02-19 09:09:44 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgdiplus
|
2007-10-23 05:32:36 +02:00
|
|
|
PORTVERSION= 1.2.5
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
2006-02-19 09:09:44 +01:00
|
|
|
CATEGORIES= x11-toolkits
|
2008-06-18 21:07:23 +02:00
|
|
|
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
|
2006-02-19 09:09:44 +01:00
|
|
|
|
|
|
|
MAINTAINER= bsd-sharp-list@forge.novell.com
|
|
|
|
COMMENT= GDI+ API for System.Windows.Forms in Mono
|
|
|
|
|
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
2006-02-19 09:09:44 +01:00
|
|
|
|
2007-10-23 05:32:36 +02:00
|
|
|
USE_BZIP2= yes
|
2006-02-19 09:09:44 +01:00
|
|
|
USE_GNOME= gnomehack gnometarget glib20
|
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xrender
|
|
|
|
USE_LDCONFIG= yes
|
2006-02-19 09:09:44 +01:00
|
|
|
LIBTOOLFILES= configure cairo/configure
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
2007-10-23 05:32:36 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-02-19 09:09:44 +01:00
|
|
|
# Included cairo does not work for us. Enable below when Mono catches
|
|
|
|
# up with our port. For now, use included but patch out glitz manually.
|
|
|
|
#CONFIGURE_ARGS+= --with-cairo=installed
|
|
|
|
|
2006-03-21 06:22:08 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-02-04 23:02:30 +01:00
|
|
|
# Avoid build error on 64-bit architectures
|
|
|
|
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "sparc64")
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.endif
|
|
|
|
|
2006-03-21 06:22:08 +01:00
|
|
|
.if ${OSVERSION} < 503000
|
|
|
|
IGNORE= does not build and is useless without working Mono
|
|
|
|
.endif
|
|
|
|
|
2007-10-23 05:32:36 +02:00
|
|
|
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
2006-03-21 06:22:08 +01:00
|
|
|
.include <bsd.port.post.mk>
|