2009-10-04 17:16:17 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2009/10/04 21:16:17 kili Exp $
|
2003-07-19 23:55:46 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= advanced revision control system written in Haskell
|
2003-07-19 23:55:46 -04:00
|
|
|
|
2009-01-25 13:53:33 -05:00
|
|
|
DISTNAME= darcs-2.2.0
|
2009-10-04 17:16:17 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2007-06-06 15:52:17 -04:00
|
|
|
|
2003-07-19 23:55:46 -04:00
|
|
|
CATEGORIES= devel
|
2005-02-13 20:59:12 -05:00
|
|
|
HOMEPAGE= http://www.darcs.net/
|
2003-07-19 23:55:46 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
2008-10-18 14:58:06 -04:00
|
|
|
WANTLIB= c curses crypto idn m pthread ssl z
|
2004-08-10 04:23:36 -04:00
|
|
|
MODULES= lang/ghc
|
2006-07-30 17:02:32 -04:00
|
|
|
MODGHC_RUNTIME= No
|
2006-08-01 18:46:16 -04:00
|
|
|
LIB_DEPENDS= curl.>=2::net/curl \
|
2006-07-30 17:02:32 -04:00
|
|
|
gmp::devel/gmp
|
2008-10-18 14:58:06 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2003-07-19 23:55:46 -04:00
|
|
|
|
2005-05-08 23:41:34 -04:00
|
|
|
CONFIGURE_STYLE=simple
|
2005-11-17 04:31:16 -05:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
2007-06-06 15:52:17 -04:00
|
|
|
--datadir=${PREFIX}/share \
|
|
|
|
--libexecdir=${PREFIX}/libexec/darcs \
|
2007-06-21 11:13:45 -04:00
|
|
|
--mandir=${PREFIX}/man \
|
2007-06-06 15:52:17 -04:00
|
|
|
--sysconfdir=${PREFIX}/share/darcs \
|
2008-10-18 14:58:06 -04:00
|
|
|
--without-manual
|
2003-07-19 23:55:46 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
2007-06-21 11:13:45 -04:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" CFLAGS="" \
|
2009-01-25 13:53:33 -05:00
|
|
|
HOME=/nonexistent \
|
2008-10-18 14:58:06 -04:00
|
|
|
AWK=/usr/bin/awk DIFF=/usr/bin/diff GREP=/usr/bin/grep
|
2003-07-19 23:55:46 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
MAKE_FILE= GNUmakefile
|
2009-01-25 13:53:33 -05:00
|
|
|
INSTALL_TARGET= install installserver install-html install-examples
|
2005-02-13 20:59:12 -05:00
|
|
|
MAKE_ENV+= DARCS=${WRKSRC}/darcs
|
2008-10-18 14:58:06 -04:00
|
|
|
MAKE_FLAGS+= VERBOSE=Yes
|
2007-06-06 15:52:17 -04:00
|
|
|
REGRESS_TARGET= check
|
2008-10-18 14:58:06 -04:00
|
|
|
REGRESS_DEPENDS=::shells/bash
|
2003-07-19 23:55:46 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|