23 lines
640 B
Makefile
23 lines
640 B
Makefile
# $NetBSD: Makefile,v 1.7 2012/09/11 22:37:12 asau Exp $
|
|
#
|
|
|
|
DISTNAME= forkbomb-1.4
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://home.tiscali.cz:8080/~cz210552/forkbomb.html
|
|
COMMENT= Classic Unix fork() bomber
|
|
|
|
INSTALLATION_DIRS+= bin man/man8
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${CPPFLAGS} ${WRKSRC}/forkbomb.c -o \
|
|
${WRKSRC}/forkbomb
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/forkbomb ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/forkbomb.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|