2003-06-05 23:48:20 +02:00
|
|
|
# New ports collection makefile for: gtk2hs
|
|
|
|
# Date created: 03 June 2002
|
|
|
|
# Whom: Oliver Braun <obraun@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtk2hs
|
2009-03-12 01:10:32 +01:00
|
|
|
PORTVERSION= 0.10.0
|
2010-08-08 10:56:41 +02:00
|
|
|
PORTREVISION= 6
|
2005-10-16 22:36:26 +02:00
|
|
|
PORTEPOCH= 1
|
2003-06-05 23:48:20 +02:00
|
|
|
CATEGORIES= x11-toolkits haskell
|
2009-08-22 02:39:37 +02:00
|
|
|
MASTER_SITES= SF
|
2003-06-05 23:48:20 +02:00
|
|
|
PKGNAMEPREFIX= hs-
|
|
|
|
|
2004-03-06 22:29:59 +01:00
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
2003-06-05 23:48:20 +02:00
|
|
|
COMMENT= A GTK2 Binding for Haskell
|
|
|
|
|
2005-10-14 14:10:45 +02:00
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
|
2009-03-12 01:10:32 +01:00
|
|
|
gstreamer-plugins>=0.10:${PORTSDIR}/multimedia/gstreamer-plugins
|
|
|
|
LIB_DEPENDS= gstreamer-0.10:${PORTSDIR}/multimedia/gstreamer \
|
|
|
|
gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext
|
2005-02-01 10:07:01 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2004-04-19 06:28:22 +02:00
|
|
|
|
2009-03-12 01:10:32 +01:00
|
|
|
USE_GNOME= gnomelibs gtk20 libglade2 gtksourceview2 gconf2 librsvg2 gnomevfs2
|
2009-12-02 09:10:56 +01:00
|
|
|
USE_GECKO= libxul
|
2005-02-01 10:07:01 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-06-05 23:48:20 +02:00
|
|
|
USE_GMAKE= yes
|
2007-02-23 23:03:30 +01:00
|
|
|
SUB_FILES= pkg-install
|
|
|
|
PKGDEINSTALL= ${PKGINSTALL}
|
2003-06-05 23:48:20 +02:00
|
|
|
|
- Update GHC and Haskell ports to 6.10.4 (for both i386 and amd64), bump
port revision where appropriate
- Add devel/hs-ghc-paths
- Add devel/hs-QuickCheck
- Add devel/hs-readline
- Add devel/hs-haskeline
- Add devel/hs-mmap
- Remove lang/ghc-doc
- Mark devel/lhs2TeX broken as it does not compile with GHC 6.10.4
- Set NHC98 as default compiler for devel/hs-hat as it does not compile
with GHC 6.10.4
PR: ports/137055, ports/137058, ports/137059, ports/137060, ports/137061,
ports/137062, ports/137063, ports/137063, ports/137064, ports/137065,
ports/137066, ports/137067, ports/137068, ports/137069, ports/137070,
ports/137071, ports/137072, ports/137074, ports/137075, ports/137076,
ports/137077, ports/137078, ports/137079, ports/137080, ports/137081,
ports/137082, ports/137083, ports/137084, ports/137085, ports/137086,
ports/137087, ports/137088, ports/137090, ports/137091, ports/137092,
ports/137093, ports/137094, ports/137095, ports/137096, ports/137097,
ports/137098, ports/137099, ports/137102, ports/137103, ports/137104,
ports/137107, ports/137108, ports/137109, ports/137110, ports/137111
Submitted by: Jacula Modyun (jacula (at) gmail (dot) com),
Ashish Shukla (wahjava (at) gmail (dot) com) (amd64 support)
Supported by: wxs (review, amd64 testing), tabthorpe (8.x testing)
Approved by: tabthorpe (mentor), respective maintainers
2009-09-02 17:38:45 +02:00
|
|
|
GHC_VERSION= 6.10.4
|
|
|
|
GTK2HS_VERSION= ${PORTVERSION}
|
|
|
|
|
|
|
|
GTK2HS_LIBDIR_REL= lib/${PORTNAME}
|
|
|
|
|
|
|
|
PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
|
|
|
|
GTK2HS_VERSION=${GTK2HS_VERSION} \
|
|
|
|
GTK2HS_LIBDIR_REL=${GTK2HS_LIBDIR_REL}
|
|
|
|
|
2005-11-09 11:03:54 +01:00
|
|
|
SUB_LIST+= GHC_VERSION="${GHC_VERSION}" \
|
|
|
|
PORTVERSION=${PORTVERSION} \
|
|
|
|
PKGS="${PKGS}"
|
|
|
|
|
- Update GHC and Haskell ports to 6.10.4 (for both i386 and amd64), bump
port revision where appropriate
- Add devel/hs-ghc-paths
- Add devel/hs-QuickCheck
- Add devel/hs-readline
- Add devel/hs-haskeline
- Add devel/hs-mmap
- Remove lang/ghc-doc
- Mark devel/lhs2TeX broken as it does not compile with GHC 6.10.4
- Set NHC98 as default compiler for devel/hs-hat as it does not compile
with GHC 6.10.4
PR: ports/137055, ports/137058, ports/137059, ports/137060, ports/137061,
ports/137062, ports/137063, ports/137063, ports/137064, ports/137065,
ports/137066, ports/137067, ports/137068, ports/137069, ports/137070,
ports/137071, ports/137072, ports/137074, ports/137075, ports/137076,
ports/137077, ports/137078, ports/137079, ports/137080, ports/137081,
ports/137082, ports/137083, ports/137084, ports/137085, ports/137086,
ports/137087, ports/137088, ports/137090, ports/137091, ports/137092,
ports/137093, ports/137094, ports/137095, ports/137096, ports/137097,
ports/137098, ports/137099, ports/137102, ports/137103, ports/137104,
ports/137107, ports/137108, ports/137109, ports/137110, ports/137111
Submitted by: Jacula Modyun (jacula (at) gmail (dot) com),
Ashish Shukla (wahjava (at) gmail (dot) com) (amd64 support)
Supported by: wxs (review, amd64 testing), tabthorpe (8.x testing)
Approved by: tabthorpe (mentor), respective maintainers
2009-09-02 17:38:45 +02:00
|
|
|
PKGS= glib cairo gstreamer gnomevfs gio \
|
|
|
|
gtk glade svgcairo gtkglext gconf \
|
|
|
|
gtksourceview2 mozembed soegtk
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= GIO_CFLAGS="-I${LOCALBASE}/include/gio-unix-2.0"
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
PLIST_SUB+= NOPORTDOCS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NOPORTDOCS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
|
|
|
|
PORT_HADDOCK!= (cd ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
|
|
|
|
.if !empty(PORT_HADDOCK:M?0)
|
|
|
|
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-docs
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/prologue.txt ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/COPYING.GPLv3 ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/COPYING.LGPLv3 ${DOCSDIR}
|
2003-11-19 12:32:19 +01:00
|
|
|
|
2003-06-05 23:48:20 +02:00
|
|
|
.include <bsd.port.mk>
|