1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/devel/monotone/Makefile
Norikatsu Shigemura 617938836d Clean up SQLite and related ports.
o Move databases/sqlite to databases/sqlite2.
o Fix dependency on databases/sqlite.
o Update sqlite2 to 2.8.15.
o Bump PORTREVISION, accordingly.

Approved by:	portmgr, maintainers of sqlite and related ports
2004-12-23 08:25:47 +00:00

78 lines
1.7 KiB
Makefile

# New ports collection makefile for: monotone
# Date created: 05 Feb 2004
# Whom: Mark A. Wicks <mwicks@kettering.edu>
#
# $FreeBSD$
#
PORTNAME= monotone
PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.venge.net/monotone/ \
http://norton.kettering.edu/freebsd/
MAINTAINER= mwicks@kettering.edu
COMMENT= A distributed version control system with digital signatures
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
boost_regex.1:${PORTSDIR}/devel/boost
USE_ICONV= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
.endif
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
PLIST_FILES= bin/depot.cgi bin/monotone
INFO= monotone
MAN1= monotone.1
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
.endif
.if !defined(WITHOUT_ADNS)
LIB_DEPENDS+= adns.1:${PORTSDIR}/dns/adns
.else
CONFIGURE_ARGS= --with-bundled-adns
.endif
.if !defined(WITHOUT_LUA)
LIB_DEPENDS+= lua.5:${PORTSDIR}/lang/lua
.else
CONFIGURE_ARGS= --with-bundled-lua
.endif
.if !defined(WITHOUT_SQLITE)
LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
.else
CONFIGURE_ARGS= --with-bundled-sqlite
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
.if ${OSVERSION} < 500000
BROKEN= "Does not run on FreeBSD-4.x at this time"
.endif
EXPIRATION_DATE=2005-02-18
DEPRECATED= Does not compile (5.x) or run (4.x)
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
post-patch:
${TOUCH} ${WRKDIR}/${DISTNAME}/configure
${TOUCH} ${WRKDIR}/${DISTNAME}/*.in
.include <bsd.port.post.mk>