2010-03-15 11:20:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2010/03/15 10:20:21 pettai Exp $
|
2010-03-14 19:37:58 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= hping3-alpha-2
|
|
|
|
PKGNAME= hping3-3a2
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://wiki.hping.org/uploadedfiles/101/
|
|
|
|
|
2010-03-14 19:39:38 +01:00
|
|
|
MAINTAINER= pettai@NetBSD.org
|
2010-03-14 19:37:58 +01:00
|
|
|
HOMEPAGE= http://wiki.hping.org/
|
|
|
|
COMMENT= Command-line oriented TCP/IP packet assembler/analyzer
|
2010-03-15 11:20:21 +01:00
|
|
|
LICENSE= gnu-gpl-v2 AND original-bsd
|
2010-03-14 19:37:58 +01:00
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= ${WRKSRC}/configure
|
|
|
|
SUBST_FILES.paths+= ${WRKSRC}/Makefile.in
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g'
|
|
|
|
|
|
|
|
USE_TOOLS= gmake
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= INSTALL_MANPATH=${PKGMANDIR}
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hping3 ${DESTDIR}${PREFIX}/sbin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hping3.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|