summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-09-14 04:18:06 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-09-14 04:18:06 +0000
commit0f7c445dbb72eb548eba60e195473c24ffde8ae2 (patch)
treee88e0492fbbef467c9be81ca7efb655b7d0f25de /net
parentremove ogre312 - repocopy should have copied ogre3d to ogre3d12 (diff)
- 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)
Notes
Notes: svn path=/head/; revision=199469
Diffstat (limited to 'net')
-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