openbsd-ports/devel/darcs/Makefile
kili 5bf0c0778f Update to 1.0.9, from Jon Olsson (maintainer).
Tested by me with both ghc-6.2.2 and upcoming ghc-6.6.1 on i386 and
by R.D. Thrush on amd64. Some spaces vs. tabs detected by sturm@.

ok sturm@
2007-06-06 19:52:17 +00:00

41 lines
988 B
Makefile

# $OpenBSD: Makefile,v 1.19 2007/06/06 19:52:17 kili Exp $
COMMENT= "advanced revision control system written in Haskell"
DISTNAME= darcs-1.0.9
CATEGORIES= devel
HOMEPAGE= http://www.darcs.net/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= Jon Olsson <jon@abc.se>
MODULES= lang/ghc
MODGHC_RUNTIME= No
LIB_DEPENDS= curl.>=2::net/curl \
gmp::devel/gmp
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= --prefix=${PREFIX} \
--datadir=${PREFIX}/share \
--libexecdir=${PREFIX}/libexec/darcs \
--sysconfdir=${PREFIX}/share/darcs \
--disable-mmap \
--without-docs
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" CFLAGS=""
USE_GMAKE= Yes
MAKE_FILE= GNUmakefile
INSTALL_TARGET= install installserver installdocs
MAKE_ENV+= DARCS=${WRKSRC}/darcs
REGRESS_TARGET= check
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto curses idn m ssl z
.include <bsd.port.mk>