37f54e0f66
- Convert to USES=libtool and bump dependent ports - Avoid USE_AUTOTOOLS - Don't use PTHREAD_LIBS - Use MAKE_CMD databases/glom: - Drop :keepla - Add INSTALL_TARGET=install-strip databases/libgda4* databases/libgda5*: - Convert to USES=libtool and bump dependent ports - USES=tar:xz - Use INSTALL_TARGET=install-strip - Use @sample databases/libgdamm: - Drop :keepla - USES=tar:bzip2 - Use INSTALL_TARGET=install-strip databases/libgdamm5: - Add INSTALL_TARGET=install-strip - Drop --enable-static (inherited from old repocopy) devel/anjuta x11-toolkits/py-gnome-extras: - Drop :keepla dns/powerdns dns/powerdns-devel: - Convert to USES=libtool - Add INSTALL_TARGET=install-strip - Disable static modules - Stop creating library symlinks with .0 suffix, not needed for dynamically opened modules mail/dovecot2: - Add USES=libtool mail/dovecot2-pigeonhole: - Drop CONFIGURE_TARGET (incorrect for Dragonfly) - Add USES=libtool and INSTALL_TARGET=install-strip math/gnumeric: - USES=libtool tar:xz Approved by: portmgr (implicit, bump unstaged ports)
73 lines
1.8 KiB
Makefile
73 lines
1.8 KiB
Makefile
# Created by: Thomas Quinot <thomas@cuivre.fr.eu.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= proxy-suite
|
|
PORTVERSION= 1.9.2.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.suse.com/pub/projects/proxy-suite/src/
|
|
|
|
MAINTAINER= thomas@FreeBSD.org
|
|
COMMENT= The SuSE Proxy-Suite, a set of programs to enhance firewall security
|
|
LICENSE= GPLv2
|
|
|
|
USE_AUTOTOOLS= autoconf
|
|
USES= gmake tar:bzip2
|
|
|
|
#
|
|
# basic configure args
|
|
#
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --with-libwrap=/usr/lib --with-regex \
|
|
--localstatedir=/var/run \
|
|
--enable-warnings --enable-so-linger \
|
|
--disable-proc-mods
|
|
|
|
#
|
|
# OPTIONAL: RFC1579 support -- not complete yet.
|
|
#
|
|
.if defined(WITH_RFC1579)
|
|
CONFIGURE_ARGS+= --enable-rfc1579
|
|
.endif
|
|
|
|
#
|
|
# OPTIONAL: include ldap-support
|
|
#
|
|
.if defined(WITH_LDAP)
|
|
USE_OPENLDAP= yes
|
|
CONFIGURE_ARGS+= --with-libldap=${LOCALBASE}/lib
|
|
.else
|
|
CONFIGURE_ARGS+= --without-libldap
|
|
.endif
|
|
|
|
#
|
|
# OPTIONAL: re-build the sgml documentation (postscript, html)
|
|
# unfortunatenly this docu it is not up to date :-((
|
|
# reading of the manual pages and HOWTO's makes more sense...
|
|
#
|
|
.if !defined(WITH_SGMLDOC)
|
|
ALL_TARGET= -C ftp-proxy
|
|
.endif
|
|
|
|
MAKE_ARGS= INST_ROOT=${STAGEDIR} CONF_DST=ftp-proxy.conf.sample
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# XXX: newer autoconf's rely on the compiler result, not the preprocessor
|
|
# for checking headers, so the configure.in needs to be fixed upstream
|
|
# to properly include dependencies
|
|
post-configure:
|
|
@${ECHO} "#define HAVE_NET_IF_H 1" >> ${WRKSRC}/config.h
|
|
@${ECHO} "#define HAVE_NETINET_IP_H 1" >> ${WRKSRC}/config.h
|
|
@${ECHO} "#define HAVE_NETINET_IP_FIL_H 1" >> ${WRKSRC}/config.h
|
|
@${ECHO} "#define HAVE_NETINET_IP_NAT_H 1" >> ${WRKSRC}/config.h
|
|
|
|
pre-install:
|
|
@${STRIP_CMD} ${WRKSRC}/ftp-proxy/ftp-proxy
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|