openbsd-ports/devel/darcs/Makefile
2005-11-17 09:31:16 +00:00

38 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2005/11/17 09:31:16 dons Exp $
COMMENT= "advanced revision control system written in Haskell"
V= 1.0.4
DISTNAME= darcs-${V}
CATEGORIES= devel
HOMEPAGE= http://www.darcs.net/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= Don Stewart <dons@openbsd.org>
MODULES= lang/ghc
LIB_DEPENDS= curl.2::net/curl
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= --prefix=${PREFIX} \
--datadir=${PREFIX}/share \
--libexecdir=${PREFIX}/libexec/darcs \
--sysconfdir=${PREFIX}/share/darcs \
--disable-mmap
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 gmp m ncurses pthread readline ssl z
.include <bsd.port.mk>