pkgsrc/net/hping3/Makefile

37 lines
932 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2010/03/15 10:20:21 pettai Exp $
#
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
HOMEPAGE= http://wiki.hping.org/
COMMENT= Command-line oriented TCP/IP packet assembler/analyzer
LICENSE= gnu-gpl-v2 AND original-bsd
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"