1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/cadaver/Makefile
Jeremy Messenger 113641e728 - Makes neon29 our default neon library. The neon 0.27.x to 0.29.x are API and
ABI backwards compatible. It is unnecessary to have more than one same
  libraries (ie: neon28 and neon29) as it creates issue in our ports tree such
  as CONFLICTS and made our Makefile complicate.
- Remove www/neonpp and www/neon28.
- Add USE_GNOME=ltverhack; it corrects the shared library version by change
  from libneon.so.29 to libneon.so.27. It won't get bump again with no reason
  unless ABI changes.
- Bump the PORTREVISION on all ports and chase the shared library change.
- Add info in the UPDATING for how to rebuild on all ports that depend on
  neon.

PR:		ports/148295
Approved by:	lev (maintainer timeout, no respone for months),
		portmgr
Tested by:	pointyhat-exp by pav
2010-07-30 22:14:49 +00:00

70 lines
1.7 KiB
Makefile

# New ports collection makefile for: cadaver
# Date created: 13 January 2000
# Whom: Alex Povolotsky <tarkhil@over.ru>
#
# $FreeBSD$
#
PORTNAME= cadaver
PORTVERSION= 0.23.3
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.webdav.org/cadaver/ \
http://www.tcbug.org/
MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= Commandline client for DAV
LIB_DEPENDS= neon:${PORTSDIR}/www/neon29
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-netrc
ALL_TARGET= cadaver
MAKE_JOBS_SAFE= yes
MAN1= cadaver.1
PLIST_FILES= bin/cadaver
# Neither expat nor libneon are needed at all, but the configure
# 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):
EXTRACT_AFTER_ARGS= | ${TAR} -xf - \
--exclude '${PORTNAME}-${PORTVERSION}/lib/expat/*.[ch]' \
--exclude '${PORTNAME}-${PORTVERSION}/lib/intl/*.[ch]' \
--exclude '${PORTNAME}-${PORTVERSION}/lib/neon/*.[ch]' \
--exclude 'glob.[ch]' --exclude 'mkstemp.[ch]' \
--exclude 'tempname.[ch]' --exclude 'basename.[ch]'
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if !defined(WITHOUT_OPENSSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl --with-force-ssl
post-install:
#
#
@${CAT} ${PKGMESSAGE}
#
#
.endif
.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
.include <bsd.port.mk>