aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-c2hs/Makefile
blob: 9f3c2ea8c69ca2deae24138b4fe584d2da6644a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:   c2hs
# Date created:        23 August 2002
# Whom:                Oliver Braun <obraun@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   c2hs
PORTVERSION=    0.10.17
CATEGORIES= devel haskell
MASTER_SITES=   http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
PKGNAMEPREFIX=  hs-

MAINTAINER= obraun@FreeBSD.org
COMMENT=    C->Haskell, an Interface Generator for Haskell

BUILD_DEPENDS=  ghc:${PORTSDIR}/lang/ghc
RUN_DEPENDS=    ghc:${PORTSDIR}/lang/ghc

HAS_CONFIGURE=  yes
USE_GMAKE=  yes

PLIST_SUB=  C2HS_VERSION=${PORTVERSION}

CONFIGURE_ARGS+=    --prefix=${PREFIX} --enable-add-package

.if defined(WITH_PROFILE)
CONFIGURE_ARGS+=    --enable-prof
.endif

MAN1=   c2hs-config.1 c2hs.1

.if !defined(WITH_PROFILE)
pre-everything::
    @${ECHO_CMD} "To enable profiling support define WITH_PROFILE."
    @${ECHO_CMD} "This requires ghc with profiling libraries."
.endif

post-build:
    @(cd ${WRKSRC}/doc/c2hs && ${GMAKE} man1/c2hs-config.1 man1/c2hs.1)

post-install:
    @(cd ${WRKSRC}/doc/c2hs/man1 && \
         ${INSTALL_MAN} c2hs-config.1 c2hs.1 ${MANPREFIX}/man/man1)

.include <bsd.port.mk>
td>brnrd2017-10-041-0/+42 * - Re-add 6887828f-0229-11e0-b84d-00262d5ed8ee as cancelled, instead of purgin...zi2017-10-031-0/+4 * Document FreeBSD-SA-17:06.opensshfeld2017-10-031-0/+31 * Document FreeBSD-SA-17:05.heimdalfeld2017-10-031-0/+32 * security/vuxml: seamonkey 2.49.1 build2 uses gecko from firefox 52.4jbeich2017-10-031-1/+2 * fix typo in dnsmasq < 2.78 entriesmandree2017-10-031-1/+1 * security/vuxml: Fix title on latest entrybrnrd2017-10-021-1/+1 * security/vuxml: Document dnsmasq vulnerabilitiesbrnrd2017-10-021-0/+46 * - Add a warning if the description section seems unnecessarily largezi2017-09-301-1/+11 * - Condense additional entries where description >4500 characterszi2017-09-301-1501/+49 * - Condense entries whose description is >5000 characterszi2017-09-291-1222/+7 * - Add date format validationzi2017-09-291-0/+9 * - Purge another batch of superceded www/chromium entries to give us additiona...zi2017-09-291-3088/+0 * Document phpmyfaq issuesswills2017-09-291-0/+29 * Document wordpress issuesswills2017-09-291-0/+49 * - Fix invalid date entrieszi2017-09-291-830/+6 * Fix date formatswills2017-09-291-28/+28 * security/vuxml: mark firefox < 56 as vulnerablejbeich2017-09-291-0/+80 * Document sam2p issueswills2017-09-291-0/+36 * docuent libraw issueswills2017-09-281-0/+27 * Extend OpenVPN security issue to slave ports.mandree2017-09-281-0/+8 * Document OpenVPN <2.4.4 CVE-2017-12166 legacy vuln.mandree2017-09-281-0/+35 * Fix version range for libzip's CVE-2017-14107 (r450692).rakuco2017-09-281-2/+2 * Document ImageMagick issueswills2017-09-271-0/+41 * Update rubygem-geminabox vulnerabilitysunpoet2017-09-271-1/+2 * Document libofx issueswills2017-09-271-0/+27 * Correct version of libbson issueswills2017-09-271-1/+1 * Document sugarcrm issueswills2017-09-271-0/+35 * Document libzip issueswills2017-09-271-0/+27 * Document libbson issueswills2017-09-271-0/+29 * Document multiple vulnerabilities in tcpdumpswills2017-09-271-0/+113 * Document libraw issueswills2017-09-261-0/+27 * Document libraw issueswills2017-09-261-0/+26 * Document issue in gdswills2017-09-261-0/+29 * Document issue in php and gdswills2017-09-261-0/+34 * Document ledger vulnerabilitiesswills2017-09-261-0/+31 * Document aacplusenc issueswills2017-09-261-0/+27 * Document ansible issueswills2017-09-261-0/+26 * Add second CVE To geminabox entry, update versions affectedswills2017-09-251-1/+2 * security/vuxml: Document WeeChat 1.9 vulnerabilitybrnrd2017-09-251-0/+27 * Document Perl vulnerabilitysunpoet2017-09-251-0/+40 * Document new vulnerabilities in www/chromium < 61.0.3163.100cpm2017-09-231-0/+35 * Add new asterisk ports vulnerability.madpilot2017-09-201-0/+40 * security/vuxml: adjust for seamonkey 2.49.1jbeich2017-09-201-4/+6 * Document Ruby vulnerabilitysunpoet2017-09-201-0/+55 * Document rubygem-geminabox vulnerabilitysunpoet2017-09-191-0/+33 * Add new entry for Apache "OptionsBleed"brd2017-09-191-0/+40 * Document GitLab vulnerabilitiestz2017-09-141-0/+76 * - Add emacs-devel to the list of affected packages by emacs vulnerabilityashish2017-09-131-32/+36 * Document latest Flash Player vulnerabilities.jkim2017-09-131-0/+31 * - Correct package name in Emacs vulnerabilityashish2017-09-121-1/+3 * - Document emacs vulnerabilityashish2017-09-121-0/+30 * Document cyrus-imapd vulnerabilityume2017-09-111-0/+26 * Fix indentsunpoet2017-09-081-6/+6 * Document Django vulnerabilitysunpoet2017-09-071-0/+40 * Correct vulnerability range for atril and atril-lite.truckman2017-09-071-2/+4 * Document new vulnerabilities in www/chromium < 61.0.3163.79cpm2017-09-061-0/+58 * Cancel CVE-2017-6419 for security/clamavfeld2017-09-031-26/+1 * Document clamav vulnerabilityfeld2017-09-031-0/+29 * Document gdk-pixbuf2 vulnerabilitiesfeld2017-09-021-0/+32 * Document vulnerabilities in asterisk ports.madpilot2017-09-011-0/+72 * Document libgcrypt side-channel attack vulnerabilitycpm2017-08-301-0/+27 * Update pspp version range to 1.0.1cpm2017-08-301-1/+2 * security/vuxml: Add entry for multiple rubygems vulnerabilities reportedjrm2017-08-301-0/+31 * Document vulnerabilities of www/kanboardtobik2017-08-261-0/+28 * Document issues in popplerswills2017-08-241-0/+32 * Document vulnerabilities of mail/phpmailertz2017-08-231-0/+32 * Document salt security vulnerabilitywoodsb022017-08-231-0/+38 * Document dnsdist vulnerabilitiescpm2017-08-231-0/+30 * Document security vulnerability in evince and atrilswills2017-08-231-0/+40 * Document SquirrelMail vulnerabilityswills2017-08-231-0/+29 * Document vulnerabilities in math/pspp < 1.0.0cpm2017-08-221-0/+44 * Update the latest libsoup entry with the fixed version.kwm2017-08-201-1/+2 * - Add entry about drupal8 vulnerabilitiesacm2017-08-191-0/+29 * security/vuxml: Document devel/libsoup vulnerabilitybrnrd2017-08-171-0/+28 * security/vuxml: Document Zabbix vulnerabilitydbaio2017-08-161-0/+46 * security/vuxml: Document vulnerability in sysutils/py-supervisordbaio2017-08-161-0/+35 * Fix typo in affected versions of GitLab vulnerabilitiestz2017-08-151-1/+2 * Document freeradius vulnerabilitiesfeld2017-08-151-0/+40 * Document Mercurial vulnerabilitysunpoet2017-08-131-0/+35 * security/vuxml: Update recent MySQL entrybrnrd2017-08-121-3/+3 * Match both dovecot and dovecot2.adamw2017-08-121-0/+1 * Chase dovecot2's rename to dovecot.adamw2017-08-121-1/+1 * Add CVE-2017-9800 for subversion ports.lev2017-08-111-0/+44 * Document GitLab vulnerabilitiestz2017-08-111-0/+56 * security/vuxml: Consolidate duplicate Apache Commons FileUpload entriesdbaio2017-08-111-40/+8 * Add CVE:s fixed in latest PostgreSQL releasegirgen2017-08-101-0/+49 * Document latest Flash Player vulnerabilities.jkim2017-08-101-0/+32 * security/vuxml: Document today's cURL vulnerabilitiesbrnrd2017-08-091-0/+70 * security/vuxml: Document axis2 vulnerabilitydbaio2017-08-091-0/+29 * security/vuxml: mark firefox < 55 as vulnerablejbeich2017-08-091-0/+99 * Update sqlite3 vuxml entryfeld2017-08-091-1/+2 * Document sqlite3 vulnerabilityfeld2017-08-08