aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6socket_scrub
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-09-14 12:18:06 +0800
committeralepulver <alepulver@FreeBSD.org>2007-09-14 12:18:06 +0800
commita8e225608ce3299c56289a6b4cb58e28597bfe30 (patch)
treef6768671cb847a0f1f55e50c2b7a2aeea9dd721b /net/ipv6socket_scrub
parent6be260921351a6a6e3e09846b489e0f8578d2f92 (diff)
downloadfreebsd-ports-gnome-a8e225608ce3299c56289a6b4cb58e28597bfe30.tar.gz
freebsd-ports-gnome-a8e225608ce3299c56289a6b4cb58e28597bfe30.tar.zst
freebsd-ports-gnome-a8e225608ce3299c56289a6b4cb58e28597bfe30.zip
- Bump PORTREVISION.
- RESTRICTED handled more properly. - Update the checksums. - Installing Copyright agreement and README. - Clean up. PR: ports/115748 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
Diffstat (limited to 'net/ipv6socket_scrub')
-rw-r--r--net/ipv6socket_scrub/Makefile43
-rw-r--r--net/ipv6socket_scrub/distinfo2
2 files changed, 25 insertions, 20 deletions
diff --git a/net/ipv6socket_scrub/Makefile b/net/ipv6socket_scrub/Makefile
index c154f45f05ca..21b9ff8f6241 100644
--- a/net/ipv6socket_scrub/Makefile
+++ b/net/ipv6socket_scrub/Makefile
@@ -6,6 +6,7 @@
PORTNAME= ipv6socket_scrub
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= net devel ipv6
MASTER_SITES= #http://www.sun.com/download/index.jsp?cat=Operating%20Systems&tab=3
DISTNAME= IPv6socket_scrub
@@ -14,27 +15,29 @@ EXTRACT_SUFX= .tar
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Checks IPv6 portability of C source code
-MAN1= ipv6socket_scrub.1
-PLIST_FILES= bin/ipv6socket_scrub
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-RESTRICTED= "not redistributable, license agreement required"
-
-.if !defined(PACKAGE_BUILDING)
-do-fetch:
- @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
- ${ECHO} '======================================================='; \
- ${ECHO} 'You need to sign the agreement on http://www.sun.com/download/index.jsp?cat=Operating%20Systems&tab=3'; \
- ${ECHO} 'and fetch on your own.'; \
- ${ECHO} 'Once ${DISTFILES} has been downloaded, move it to '; \
- ${ECHO} '${DISTDIR} and then restart this build '; \
- ${ECHO} '======================================================='; \
- fi
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+RESTRICTED= not redistributable, license agreement required
+
+MAN1= ${PORTNAME}.1
+
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= Copyright README
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE= needs you to sign the agreement on "http://www.sun.com/download/index.jsp?cat=Operating%20Systems&tab=3", download it manually, place in ${DISTDIR} and then restart this build
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ipv6socket_scrub ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/../Docs/man/man1/ipv6socket_scrub.1 \
- ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/../Docs/man/man1/${PORTNAME}.1 \
+ ${MANPREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+. for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+. endfor
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/ipv6socket_scrub/distinfo b/net/ipv6socket_scrub/distinfo
index 9c6176d90c67..7a135830a86c 100644
--- a/net/ipv6socket_scrub/distinfo
+++ b/net/ipv6socket_scrub/distinfo
@@ -1 +1,3 @@
MD5 (IPv6socket_scrub.tar) = 5e61107af752b3e97ace852c481e45b7
+SHA256 (IPv6socket_scrub.tar) = b364ada8f677c049e58afeef67046af5943edff838c69fc0dcc010a659f2fa8b
+SIZE (IPv6socket_scrub.tar) = 160768