1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/misc/aclgen/Makefile
2021-04-06 16:31:07 +02:00

30 lines
669 B
Makefile

# Created by: igor@zynaps.ru
PORTNAME= aclgen
PORTVERSION= 2.02
CATEGORIES= misc
MASTER_SITES= ftp://gatling.ikk.sztaki.hu/pub/aclgen/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Optimize Cisco routers IP access lists
NO_WRKSUBDIR= yes
MAKEFILE= /usr/share/mk/bsd.prog.mk
MAKE_ARGS= PROG=aclgen
PLIST_FILES= bin/aclgen \
man/man1/aclgen.1.gz
post-patch:
@${REINPLACE_CMD} -e \
's|<malloc.h>|<unistd.h>| ; \
s|^void main|int main|' ${WRKSRC}/aclgen.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aclgen ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/aclgen.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>