pkgsrc-wip/iptables/Makefile
Aleksej Saushev 0b8aa5aecb Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-09-30 05:44:14 +00:00

41 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
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]*-*
PKG_DESTDIR_SUPPORT= none
USE_TOOLS+= gmake
NO_CONFIGURE= YES
PKGMANDIR?= man # until this in official pkgsrc
do-build:
cd ${WRKSRC} && \
${GMAKE} BINDIR=${LOCALBASE}/bin LIBDIR=${LOCALBASE}/lib \
MANDIR=${LOCALBASE}/${PKGMANDIR}
do-install:
cd ${WRKSRC} && \
${GMAKE} BINDIR=${LOCALBASE}/bin LIBDIR=${LOCALBASE}/lib \
MANDIR=${LOCALBASE}/${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"