mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
- Add LICENSE
- Strip binary executable - Support STAGEDIR - Bump PORTREVISION for package change - Pass maintainership to submitter - While I'm here: - Use USES=tar:tgz - Update patch - Sort PLIST PR: ports/190263 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com>
This commit is contained in:
parent
de880f7155
commit
1376899fe3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355777
@ -3,27 +3,32 @@
|
||||
|
||||
PORTNAME= isic
|
||||
PORTVERSION= 0.07
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ISIC%20v${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= 5u623l20@gmail.com
|
||||
COMMENT= IP Stack Integrity Checker
|
||||
|
||||
LIB_DEPENDS= net:${PORTSDIR}/net/libnet
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= isic.1
|
||||
USES= tar:tgz
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} > 900000
|
||||
@${REINPLACE_CMD} -e 's|2147483647|2147483645|' \
|
||||
${WRKSRC}/isic.h
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
@${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
14
net-mgmt/isic/files/patch-Makefile.in
Normal file
14
net-mgmt/isic/files/patch-Makefile.in
Normal file
@ -0,0 +1,14 @@
|
||||
--- Makefile.in.orig 2014-05-30 10:56:25.545291396 +0800
|
||||
+++ Makefile.in 2014-05-30 10:59:03.796118183 +0800
|
||||
@@ -63,7 +63,7 @@
|
||||
tar -czvf isic-$(VERSION).tgz ./isic-$(VERSION)/* )
|
||||
|
||||
install: $(BINS) $(MAN)
|
||||
- $(INSTALL) -m 0755 -d $(PREFIX)/bin
|
||||
- $(INSTALL) -m 0755 -c $(BINS) $(PREFIX)/bin
|
||||
- $(INSTALL) -m 0755 -d $(PREFIX)/man/man1
|
||||
- ${INSTALL} -m 0755 -c $(MAN) $(PREFIX)/man/man1
|
||||
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin
|
||||
+ $(BSD_INSTALL_PROGRAM) -c $(BINS) $(DESTDIR)$(PREFIX)/bin
|
||||
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/man/man1
|
||||
+ $(BSD_INSTALL_MAN) -c $(MAN) $(DESTDIR)$(PREFIX)/man/man1
|
@ -1,10 +1,11 @@
|
||||
bin/isic
|
||||
bin/tcpsic
|
||||
bin/udpsic
|
||||
bin/icmpsic
|
||||
bin/esic
|
||||
bin/multisic
|
||||
bin/isic6
|
||||
bin/tcpsic6
|
||||
bin/udpsic6
|
||||
bin/icmpsic
|
||||
bin/icmpsic6
|
||||
bin/isic
|
||||
bin/isic6
|
||||
bin/multisic
|
||||
bin/tcpsic
|
||||
bin/tcpsic6
|
||||
bin/udpsic
|
||||
bin/udpsic6
|
||||
man/man1/isic.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user