openbsd-ports/security/ADMfzap/Makefile
2003-12-30 23:05:08 +00:00

37 lines
911 B
Makefile

# $OpenBSD: Makefile,v 1.8 2003/12/30 23:05:08 pvalchev Exp $
COMMENT= "connect() and bind() wrapper to evade packet filtering"
DISTNAME= ADMfzap
PKGNAME= ADMfzap-0.1
CATEGORIES= security
MAINTAINER= Jason Peel <jsyn@openbsd.org>
PERMIT_PACKAGE_CDROM= "no license"
PERMIT_PACKAGE_FTP= "no license"
PERMIT_DISTFILES_CDROM= "no license"
PERMIT_DISTFILES_FTP= "no license"
MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \
http://adm.freelsd.net/ADM/
.include <bsd.port.mk>
.if !defined(NO_SHARED_LIBS)
MAKE_ENV+= LIB_PATH=`/bin/ls -1 /usr/lib/libc.so.* | tail -1`
ALL_TARGET= openbsd
.else
ALL_TARGET= static
.endif
NO_REGRESS= Yes
post-build:
sed "s%y0y0y0%${PREFIX}/lib/libfzap.so%g" \
${FILESDIR}/ADMfzap > ${WRKSRC}/ADMfzap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fzap.so ${PREFIX}/lib/libfzap.so
${INSTALL_SCRIPT} ${WRKSRC}/ADMfzap ${PREFIX}/bin