openbsd-ports/devel/fossil/Makefile
gsoares 708114290f update to 20110512145652; from James Turner(MAINTAINER)
You must run "fossil rebuild" on all of your repositories
after updating to this version of fossil.
(Hint: Consider using "fossil all rebuild" to rebuild all your repos in one go.)

OK jasper@ sthen@
2011-05-13 13:42:48 +00:00

47 lines
1011 B
Makefile

# $OpenBSD: Makefile,v 1.25 2011/05/13 13:42:48 gsoares Exp $
COMMENT = simple distributed software configuration management
VERSION = 20110512145652
DISTNAME = fossil-src-${VERSION}
PKGNAME = fossil-${VERSION}
CATEGORIES = devel www
MAINTAINER = James Turner <james@calminferno.net>
HOMEPAGE = http://fossil-scm.org/
MASTER_SITES = ${HOMEPAGE}download/ \
http://bsdgroup.org/fossil/
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L} == "static"
MAKE_FLAGS = LDFLAGS="-static" TCC="${CC} -Wall -DUSE_PREAD"
.else
MAKE_FLAGS = TCC="${CC} -Wall -DFOSSIL_ENABLE_SSL -DUSE_PREAD"
.endif
WANTLIB = c crypto ssl z
MODULES = lang/tcl
RUN_DEPENDS = security/gnupg
REGRESS_DEPENDS = ${MODTCL_RUN_DEPENDS}
MAKE_FLAGS += BCC="${CC}"
do-regress:
@cd ${WRKSRC} && ${MODTCL_BIN} test/tester.tcl fossil
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fossil ${PREFIX}/bin
.include <bsd.port.mk>