eb3c2b436e
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
37 lines
933 B
Makefile
37 lines
933 B
Makefile
# $NetBSD: Makefile,v 1.10 2019/11/03 11:45:37 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= hping3-alpha-2
|
|
PKGNAME= hping3-3a2
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://wiki.hping.org/uploadedfiles/101/
|
|
|
|
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
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= Makefile.in configure
|
|
SUBST_VARS.paths= PREFIX
|
|
|
|
USE_TOOLS= gmake
|
|
USE_PKGLOCALEDIR= yes
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= INSTALL_MANPATH=${PKGMANDIR}
|
|
|
|
CFLAGS.SunOS+= -Du_int64_t=uint64_t
|
|
|
|
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 "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|