2000-01-29 06:54:10 +01:00
|
|
|
# New ports collection makefile for: cadaver
|
|
|
|
# Date created: 13 January 2000
|
|
|
|
# Whom: Alex Povolotsky <tarkhil@over.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= cadaver
|
2006-01-05 09:38:44 +01:00
|
|
|
PORTVERSION= 0.22.3
|
2006-02-07 18:14:35 +01:00
|
|
|
PORTREVISION= 1
|
2000-01-29 06:54:10 +01:00
|
|
|
CATEGORIES= www
|
2004-11-28 23:35:36 +01:00
|
|
|
MASTER_SITES= http://www.webdav.org/cadaver/ \
|
2005-01-29 11:39:08 +01:00
|
|
|
http://www.tcbug.org/
|
2004-11-28 23:35:36 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2000-01-29 06:54:10 +01:00
|
|
|
|
2004-12-04 18:51:52 +01:00
|
|
|
MAINTAINER= josh@tcbug.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Commandline client for DAV
|
2000-01-29 06:54:10 +01:00
|
|
|
|
2006-01-05 09:38:44 +01:00
|
|
|
LIB_DEPENDS= neon.25:${PORTSDIR}/www/neon
|
2000-01-29 06:54:10 +01:00
|
|
|
|
2004-11-28 23:35:36 +01:00
|
|
|
USE_GPG?= yes
|
|
|
|
SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.asc
|
2003-05-18 18:03:16 +02:00
|
|
|
USE_GETOPT_LONG= yes
|
2000-01-29 06:54:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-02-02 15:42:53 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-05-04 23:26:41 +02:00
|
|
|
CONFIGURE_ARGS= --enable-netrc
|
2000-01-29 06:54:10 +01:00
|
|
|
ALL_TARGET= cadaver
|
|
|
|
|
2004-02-05 21:38:07 +01:00
|
|
|
MAN1= cadaver.1
|
|
|
|
PLIST_FILES= bin/cadaver
|
2006-02-07 18:14:35 +01:00
|
|
|
|
2004-11-28 23:35:36 +01:00
|
|
|
# Neither expat nor libneon are needed at all, but the configure
|
2004-05-04 23:26:41 +02:00
|
|
|
# script breaks if it can not find the Makefile* in them. Exclude
|
|
|
|
# them to be sure, a stray .h is not included instead of what's
|
|
|
|
# found under PREFIX (installed by the neon port):
|
2005-01-29 11:39:08 +01:00
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf - \
|
2006-02-07 18:14:35 +01:00
|
|
|
--exclude '${PORTNAME}-${PORTVERSION}/lib/expat/*.[ch]' \
|
|
|
|
--exclude '${PORTNAME}-${PORTVERSION}/lib/intl/*.[ch]' \
|
|
|
|
--exclude '${PORTNAME}-${PORTVERSION}/lib/neon/*.[ch]'
|
2001-03-21 05:03:51 +01:00
|
|
|
|
2003-02-08 06:27:23 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2003-02-02 15:42:53 +01:00
|
|
|
|
2002-08-10 19:19:38 +02:00
|
|
|
.if !defined(WITHOUT_OPENSSL)
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --with-ssl --with-force-ssl
|
|
|
|
.endif
|
|
|
|
|
2006-02-07 18:14:35 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_ICONV= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
|
|
LANGS=en@quot es it
|
|
|
|
.for lang in ${LANGS}
|
|
|
|
PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/cadaver.mo
|
|
|
|
.endfor
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls \
|
|
|
|
--without-libiconv-prefix \
|
|
|
|
--without-libintl-prefix
|
|
|
|
.endif
|
|
|
|
|
2000-01-29 06:54:10 +01:00
|
|
|
.include <bsd.port.mk>
|