freebsd-ports/www/cadaver/Makefile

42 lines
926 B
Makefile
Raw Normal View History

# New ports collection makefile for: cadaver
# Date created: 13 January 2000
# Whom: Alex Povolotsky <tarkhil@over.ru>
#
# $FreeBSD$
#
PORTNAME= cadaver
2003-04-18 11:41:36 +02:00
PORTVERSION= 0.21.0
CATEGORIES= www
MASTER_SITES= http://www.webdav.org/cadaver/
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:21:36 +01:00
COMMENT= Commandline client for DAV
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
neon.23:${PORTSDIR}/www/neon
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-netrc \
--with-expat
ALL_TARGET= cadaver
MAN1= cadaver.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
.if !defined(WITHOUT_OPENSSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl --with-force-ssl
.endif
.include <bsd.port.mk>