aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6socket_scrub/Makefile
blob: 0e6cf3c2ea4a4909bf91f34f539e616eb5d9a430 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    IPv6socket_scrub
# Date created:         22.03.2002
# Whom: Janos Mohacsi <janos.mohacsi@dante.org.uk>
#
# $FreeBSD$

PORTNAME=   ipv6socket_scrub
PORTVERSION=    1.0
CATEGORIES= net devel ipv6
MASTER_SITES=   #http://www.sun.com/solaris/ipv6
DISTNAME=   IPv6socket_scrub
EXTRACT_SUFX=   .tar

MAINTAINER= Janos.Mohacsi@dante.org.uk
COMMENT=    Checks IPv6 portability of C source code

MAN1=       ipv6socket_scrub.1

WRKSRC=         ${WRKDIR}/${DISTNAME}/src
RESTRICTED=     "not redistributable, license agreement required"
NO_CDROM=   ${RESTRICTED}
NO_PACKAGE= ${RESTRICTED}

do-fetch:
    @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
    ${ECHO} '======================================================='; \
    ${ECHO} 'You need to sign the agreement on http://www.sun.com/solaris/ipv6'; \
    ${ECHO} 'and fetch on your own.'; \
    ${ECHO} 'Once ${DISTFILES} has been downloaded, move it to '; \
    ${ECHO} '${DISTDIR} and then restart this build '; \
    ${ECHO} '======================================================='; \
    fi

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ipv6socket_scrub ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/../Docs/man/man1/ipv6socket_scrub.1 \
        ${PREFIX}/man/man1

.include <bsd.port.mk>