40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2007/04/13 03:58:53 steven Exp $
|
|
|
|
COMMENT= "advanced revision control system written in Haskell"
|
|
|
|
DISTNAME= darcs-1.0.8
|
|
PKGNAME= ${DISTNAME}p0
|
|
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
|
|
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 m ssl z
|
|
|
|
.include <bsd.port.mk>
|