# New ports collection makefile for: hs-HGL-ghc # Date created: February 25 2008 # Whom: Giuseppe Pilichi aka Jacula Modyun # # $FreeBSD$ # PORTNAME= HGL PORTVERSION= 3.2.0.0 CATEGORIES= graphics haskell MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ PKGNAMEPREFIX= hs- PKGNAMESUFFIX= -ghc MAINTAINER= jacula@gmail.com COMMENT= A simple graphics library based on X11 or Win32 BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \ hs-x11-ghc>=1.2.1:${PORTSDIR}/x11/hs-x11-ghc GHC_VERSION= 6.8.2 CABAL_CMD= ${LOCALBASE}/bin/runghc Setup.hs HGL_LIBDIR_REL= lib/${DISTNAME} DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} PLIST_SUB= GHC_VERSION=${GHC_VERSION} \ HGL_LIBDIR_REL=${HGL_LIBDIR_REL} .if defined(NOPORTDOCS) PLIST_SUB+= NOPORTDOCS="" .else PLIST_SUB+= NOPORTDOCS="@comment " .endif .if !defined(NOPORTDOCS) BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock \ HsColour:${PORTSDIR}/print/hs-hscolour HSCOLOUR_VERSION= 1.9 PORTDOCS= * .endif .SILENT: do-configure: cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --prefix=${PREFIX} do-build: cd ${WRKSRC} && ${CABAL_CMD} build \ && ${CABAL_CMD} register --gen-script .if !defined(NOPORTDOCS) cd ${WRKSRC} && ${CABAL_CMD} haddock --executables --hyperlink-source \ --hscolour-css=${LOCALBASE}/share/hscolour-${HSCOLOUR_VERSION}/hscolour.css .endif do-install: cd ${WRKSRC} && ${CABAL_CMD} install \ && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HGL_LIBDIR_REL}/register.sh @${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old .include ion> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Fix the make_index script if PORTSDIR is a path which contains akris2006-02-111-3/+3
* - Fix possibility of "infinite make fork" when "Registering install for ..."linimon2006-01-281-11/+17
* Split "portsnap fetch update" into "portsnap fetch" and "portsnap update"cperciva2006-01-251-1/+2
* - Fix 'all-depends-list' target in cases if dependencies list iskrion2006-01-221-2/+9
* MFsrc: Show stray files during "cvs update".ru2005-12-241-1/+1
* - Create a new category, net-im, for instant messaging applications.pav2005-11-081-0/+1
* Introduce new variable MASTER_SITE_INDEX, to allow mirroring ofkrion2004-12-171-1/+2
* As previously announced, remove ports/picobsd/ssh-picobsd due to long-linimon2004-11-291-1/+0
* Allow to override fetch option by $FETCHINDEX variable.kuriyama2004-11-161-1/+2
* - In fetchindex target:pav2004-11-161-1/+1
* * Be even more explicit about partial ports trees being unsupportedkris2004-07-141-17/+12
* Be more explicit about INDEX builds not being supported with partialkris2004-06-121-4/+5
* * Support verbose index builds with INDEX_VERBOSE [1]kris2004-06-101-2/+10
* Add "fetchindex" target. It fetches the recent index file (INDEX _or_netchild2004-05-251-0/+3
* - Allow processing of info files in non-standard locations; thekris2004-04-021-11/+35
* Say hello to the new "net-mgmt" category. There are probably morewollman2004-02-231-0/+1
* Tie x11-themes into the build now that it contains some ports.marcus2004-02-201-0/+1
* Tie accessibility to the build now that it has some ports.marcus2004-01-221-0/+1
* Tie arabic to the build now that it has some ports.marcus2003-11-091-0/+1
* Tie the dns category to the build now that it has some ports.marcus2003-08-301-0/+1
* Connect polish to the buildarved2003-08-191-0/+1
* Define the default SUP program to be cvsup.joe2003-07-121-0/+1
* With CVS_UPDATE, use read-only repository mode by default.ru2003-03-061-1/+1
* In a spirit of src/Makefile.inc1,v 1.142, get rid of "sticky"ru2003-03-051-1/+1
* Correct the bug in 'make index' that failed to substitute back thekris2003-02-241-1/+1
* I committed from the wrong tree, and the patch had a missingkris2002-12-051-1/+1
* Add the INDEXFILE variable, that defaults to INDEX-5 on 5.0 (500036) andkris2002-12-051-12/+12
* Merge in some changes from Tools/portbuild/scripts/makeindex: setkris2002-12-011-5/+8
* Add several new real categories.knu2002-11-181-0/+4
* Switch back to .tgz packages for 'parallel' target.kris2002-10-021-1/+1
* Switch to .tbz packages in generated makefile target.kris2002-09-161-1/+1
* Don't use cat(1) needlessly -- pipe the INDEX to awk(1).will2001-12-231-1/+1
* New category picobsd starts today.asami2001-04-231-0/+1
* Use single colons instead of double colons for "*-all" targets. I don't knowasami2001-03-251-2/+2
* Add new categories science and ukrainian.asami2001-03-251-0/+2
* Allow both SUP_UPDATE and CVS_UPDATE to be used, similar to src/Makefilejeh2000-11-011-5/+4
* For "make parallel", provide out an extra target without the ".tgz".asami2000-09-271-1/+1
* New category french starts today!asami2000-09-221-0/+1
* Use the SUPHOST in the 'make update' if it's defined.joe2000-08-131-0/+3
* Add new category hebrew -- Hebrew language support.asami2000-07-311-0/+1
* Typo (ghostscript55htff -> ghostscript55httf).asami2000-07-201-1/+6
* Change a couple of "make"s to "cd ${.CURDIR} && make"s, otherwise youasami2000-04-121-2/+2
* Additions to the 'make search' mechanism.joe2000-03-231-8/+0