pkgsrc-wip/iptables/Makefile

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2012/09/30 05:44:15 asau Exp $
DISTNAME= iptables-1.3.2
CATEGORIES= security
MASTER_SITES= http://www.netfilter.org/files/
MASTER_SITES+= ftp://ftp.netfilter.org/pub/iptables/
EXTRACT_SUFX= .tar.bz2
LICENSE= gnu-gpl-v2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.netfilter.org/
COMMENT= Interface to Linux netfilter firewalling subsystem
# This package requires a Linux 2.4.4 kernel, or above.
ONLY_FOR_PLATFORM= Linux-[2-9]*-*
USE_TOOLS+= gmake
NO_CONFIGURE= YES
PKGMANDIR?= man # until this in official pkgsrc
do-build:
cd ${WRKSRC} && \
${GMAKE} BINDIR=${PREFIX}/bin LIBDIR=${PREFIX}/lib \
MANDIR=${PREFIX}/${PKGMANDIR}
do-install:
cd ${WRKSRC} && \
${GMAKE} BINDIR=${PREFIX}/bin LIBDIR=${PREFIX}/lib \
MANDIR=${PREFIX}/${PKGMANDIR} install
# If you are a developer, you can install the headers, development libraries
# and associated development man pages, with:
# make install-devel
# If you want to build a statically linked version of the iptables binary,
# without the need for loading the plugins at runtime (e.g. for an embedded
# device or router-on-a-disk), please use
# make NO_SHARED_LIBS=1
.include "../../mk/bsd.pkg.mk"