1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- 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)
This commit is contained in:
Alejandro Pulver 2007-09-14 04:18:06 +00:00
parent 9d71d31431
commit 0f7c445dbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199469
2 changed files with 23 additions and 18 deletions

View File

@ -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
WRKSRC= ${WRKDIR}/${DISTNAME}/src
RESTRICTED= "not redistributable, license agreement required"
MAN1= ${PORTNAME}.1
.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
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>

View File

@ -1 +1,3 @@
MD5 (IPv6socket_scrub.tar) = 5e61107af752b3e97ace852c481e45b7
SHA256 (IPv6socket_scrub.tar) = b364ada8f677c049e58afeef67046af5943edff838c69fc0dcc010a659f2fa8b
SIZE (IPv6socket_scrub.tar) = 160768