2008-12-21 12:28:15 +01:00
|
|
|
# New ports collection makefile for: zip-archive
|
|
|
|
# Date created: December 15, 2008
|
|
|
|
# Whom: Gabor Pali <pgj@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zip-archive
|
2011-05-09 07:28:57 +02:00
|
|
|
PORTVERSION= 0.1.1.7
|
2012-02-13 04:49:32 +01:00
|
|
|
PORTREVISION= 2
|
2008-12-21 12:28:15 +01:00
|
|
|
CATEGORIES= archivers haskell
|
|
|
|
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
|
|
COMMENT= A Haskell library for working with zip archives
|
|
|
|
|
2011-05-09 07:28:57 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USE_CABAL= binary digest>=0.0.0.1 mtl utf8-string>=0.3.1 zlib
|
2010-05-15 20:50:51 +02:00
|
|
|
|
|
|
|
OPTIONS= EXECUTABLE "Build the Zip executable" off
|
|
|
|
|
2010-05-23 00:41:50 +02:00
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
|
2010-05-15 20:50:51 +02:00
|
|
|
.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
|
2008-12-21 12:28:15 +01:00
|
|
|
|
2010-05-12 18:33:59 +02:00
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
2008-12-21 12:28:15 +01:00
|
|
|
.include <bsd.port.mk>
|