- Add LICENSE

- Switch to USES=tar
- Cosmetic fixes
This commit is contained in:
Dmitry Marakasov 2016-09-11 16:40:12 +00:00
parent eb362fcae7
commit ca8949f81c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421835
3 changed files with 8 additions and 5 deletions

View file

@ -5,13 +5,17 @@ PORTNAME= bgpq
PORTVERSION= 1.0.9.9 PORTVERSION= 1.0.9.9
CATEGORIES= net-mgmt CATEGORIES= net-mgmt
MASTER_SITES= http://snar.spb.ru/prog/bgpq/ MASTER_SITES= http://snar.spb.ru/prog/bgpq/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Bgpq - lightweight access-list generator for Cisco routers COMMENT= Bgpq - lightweight access-list generator for Cisco routers
PLIST_FILES= bin/bgpq man/man8/bgpq.8.gz LICENSE= BSD2CLAUSE BSD4CLAUSE # latter for utils.c
LICENSE_COMB= multi
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/COPYRIGHT
USES= tar:tgz
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
PLIST_FILES= bin/bgpq man/man8/bgpq.8.gz
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -6,8 +6,8 @@
install: bgpq install: bgpq
- $(INSTALL) -s -m 755 bgpq @prefix@@bindir@ - $(INSTALL) -s -m 755 bgpq @prefix@@bindir@
- $(INSTALL) -m 644 bgpq.8 @prefix@@mandir@/man8 - $(INSTALL) -m 644 bgpq.8 @prefix@@mandir@/man8
+ $(INSTALL) -s -m 755 bgpq $(DESTDIR)@prefix@@bindir@ + $(BSD_INSTALL_PROGRAM) bgpq $(DESTDIR)@prefix@@bindir@
+ $(INSTALL) -m 644 bgpq.8 $(DESTDIR)@mandir@/man8 + $(BSD_INSTALL_MAN) bgpq.8 $(DESTDIR)@mandir@/man8
test: bgpq test: bgpq
@rm -f test.out ] @rm -f test.out ]

View file

@ -1,4 +1,3 @@
This program is a lightweight access- and prefix-list generator This program is a lightweight access- and prefix-list generator
for Cisco routers and GateD/Zebra. Access lists are generated for Cisco routers and GateD/Zebra. Access lists are generated
based on RADB/RIPE data. based on RADB/RIPE data.