1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/aclgen/Makefile
2014-02-06 10:41:39 +00:00

31 lines
681 B
Makefile

# Created by: igor@zynaps.ru
# $FreeBSD$
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>