679c180778
Obtained from: FreeBSD Haskell
34 lines
805 B
Makefile
34 lines
805 B
Makefile
# 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.8
|
|
CATEGORIES= archivers haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Library for creating and modifying zip archives
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_CABAL= digest>=0.0.0.1 mtl utf8-string>=0.3.1 zlib
|
|
|
|
OPTIONS= EXECUTABLE "Build the Zip executable" off
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
|
|
.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>
|