aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/hs-zip-archive/Makefile
blob: 61d5bf92409afc925544486901ea337611b10063 (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
# New ports collection makefile for:    zip-archive
# Date created:             December 15, 2008
# Whom:                 Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   zip-archive
PORTVERSION=    0.1.1.6
CATEGORIES= archivers haskell
PKGNAMESUFFIX=  -ghc

MAINTAINER= haskell@FreeBSD.org
COMMENT=    A Haskell library for working with zip archives

USE_HACKAGE=    binary digest>=0.0.0.1 utf8-string>=0.3.1 zlib

OPTIONS=    EXECUTABLE "Build the Zip executable" off

.include <bsd.port.options.mk>

.if defined(WITH_EXECUTABLE)
CONFIGURE_ARGS+=    --flags="executable"
EXECUTABLE=     Zip
PLIST_SUB+=     MAYBE_EXECUTABLE=""
.else
CONFIGURE_ARGS+=    --flags="-executable"
PLIST_SUB+=     MAYBE_EXECUTABLE="@comment "
.endif

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>