openbsd-ports/security/stunnel/Makefile
ajacoutot 2d702b0153 Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.
2011-05-11 08:24:40 +00:00

54 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.56 2011/05/11 08:24:41 ajacoutot Exp $
COMMENT= SSL encryption wrapper for standard network daemons
VERSION= 4.28
DISTNAME= stunnel-${VERSION}
CATEGORIES= security
REVISION= 0
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto ssl util wrap z
HOMEPAGE= http://www.stunnel.org/
MASTER_SITES= ftp://stunnel.mirt.net/stunnel/ \
http://www.stunnel.org/download/stunnel/src/ \
http://mike.daewoo.com.pl/computer/stunnel/ \
http://opensores.thebunker.net/pub/mirrors/stunnel/ \
ftp://ftp.fu-berlin.de/unix/security/stunnel/ \
ftp://ftp.uni-freiburg.de/pub/net/stunnel/ \
ftp://ftp.all.de/pub2/unix/security/stunnel/
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-tcp-wrappers \
--with-random=/dev/arandom \
--with-ssl=/usr \
--enable-ipv6 \
--sysconfdir=${SYSCONFDIR} \
--with-threads=fork \
--localstatedir=/var \
${CONFIGURE_SHARED}
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/auto
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
USE_GROFF = Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/src/stunnel ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/doc/stunnel.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stunnel
${INSTALL_DATA} ${WRKBUILD}/tools/stunnel.conf-sample \
${PREFIX}/share/examples/stunnel
.include <bsd.port.mk>