2012-04-30 09:12:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2012/04/30 13:12:15 espie Exp $
|
2009-09-23 15:06:46 -04:00
|
|
|
|
2011-03-18 08:09:44 -04:00
|
|
|
COMMENT = simple distributed software configuration management
|
2009-09-23 15:06:46 -04:00
|
|
|
|
2012-04-04 18:49:48 -04:00
|
|
|
DISTNAME = fossil-src-20120317175325
|
|
|
|
PKGNAME = fossil-1.22
|
2011-12-16 06:32:22 -05:00
|
|
|
EPOCH = 0
|
2009-09-23 15:06:46 -04:00
|
|
|
CATEGORIES = devel www
|
2012-04-23 13:15:17 -04:00
|
|
|
REVISION = 0
|
2009-09-23 15:06:46 -04:00
|
|
|
|
2010-12-27 06:00:43 -05:00
|
|
|
MAINTAINER = James Turner <james@calminferno.net>
|
2009-11-12 18:08:39 -05:00
|
|
|
|
2009-09-23 15:06:46 -04:00
|
|
|
HOMEPAGE = http://fossil-scm.org/
|
2011-09-06 11:02:20 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}download/
|
2009-09-23 15:06:46 -04:00
|
|
|
|
2011-03-18 08:09:44 -04:00
|
|
|
# BSD
|
2009-09-23 15:06:46 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2009-11-04 03:02:11 -05:00
|
|
|
FLAVORS= static
|
|
|
|
FLAVOR?=
|
|
|
|
|
2012-04-04 18:49:48 -04:00
|
|
|
WANTLIB = c crypto ssl sqlite3 z
|
2009-09-23 15:06:46 -04:00
|
|
|
|
|
|
|
MODULES = lang/tcl
|
|
|
|
|
2012-04-04 18:49:48 -04:00
|
|
|
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_ARGS = --disable-internal-sqlite --disable-lineedit
|
|
|
|
CONFIGURE_ENV = CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.if ${FLAVOR} == "static"
|
|
|
|
CONFIGURE_ARGS += --static --with-openssl=none
|
|
|
|
.endif
|
|
|
|
|
2012-04-30 09:12:15 -04:00
|
|
|
REGRESS_DEPENDS = ${MODTCL_RUN_DEPENDS}
|
2009-09-23 15:06:46 -04:00
|
|
|
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC} && ${MODTCL_BIN} test/tester.tcl fossil
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fossil ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|