openbsd-ports/devel/fossil/Makefile
ajacoutot cabe9a216e Force dependency on gnupg1 since gnupg2 has the same PKGNAME, it can
create some depency mess.
The long term solution is to update+merge gnupg2 into gnupg1 but for now
at least we have a clean dependency chain.

looks ok to jasper@ and pea@
2010-08-25 06:34:50 +00:00

48 lines
1012 B
Makefile

# $OpenBSD: Makefile,v 1.10 2010/08/25 06:34:50 ajacoutot Exp $
COMMENT = simple distributed software configuration management
VERSION = 20100703153359
DISTNAME = fossil-src-${VERSION}
PKGNAME = fossil-${VERSION}
REVISION = 0
CATEGORIES = devel www
MAINTAINER = James Turner <james@bsdgroup.org>
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"
.else
MAKE_FLAGS = TCC="${CC} -Wall -DFOSSIL_ENABLE_SSL"
.endif
WANTLIB = c crypto ssl z
MODULES = lang/tcl
RUN_DEPENDS = :gnupg-<2: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>