2011-09-06 11:02:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2011/09/06 15:02:20 jasper 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
|
|
|
|
2011-09-06 11:02:20 -04:00
|
|
|
VERSION = 20110901182519
|
2009-09-23 15:06:46 -04:00
|
|
|
DISTNAME = fossil-src-${VERSION}
|
2009-12-18 19:23:33 -05:00
|
|
|
PKGNAME = fossil-${VERSION}
|
2009-09-23 15:06:46 -04:00
|
|
|
CATEGORIES = devel www
|
|
|
|
|
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?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "static"
|
2010-12-07 19:10:28 -05:00
|
|
|
MAKE_FLAGS = LDFLAGS="-static" TCC="${CC} -Wall -DUSE_PREAD"
|
2010-08-18 09:53:05 -04:00
|
|
|
.else
|
2010-12-07 19:10:28 -05:00
|
|
|
MAKE_FLAGS = TCC="${CC} -Wall -DFOSSIL_ENABLE_SSL -DUSE_PREAD"
|
2009-11-04 03:02:11 -05:00
|
|
|
.endif
|
|
|
|
|
2010-03-20 19:26:11 -04:00
|
|
|
WANTLIB = c crypto ssl z
|
2009-09-23 15:06:46 -04:00
|
|
|
|
|
|
|
MODULES = lang/tcl
|
|
|
|
|
|
|
|
REGRESS_DEPENDS = ${MODTCL_RUN_DEPENDS}
|
|
|
|
|
2011-09-06 11:02:20 -04:00
|
|
|
MAKE_FILE = Makefile.classic
|
2010-08-18 09:53:05 -04:00
|
|
|
MAKE_FLAGS += BCC="${CC}"
|
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>
|