pkgsrc/devel/ipv6socket_scrub/Makefile
fredb 2f53857f29 Generalize the handling for packages where "fetch" and "fetch-list"
only emit a message and don't actually fetch anything. This allows
us to make the output of "fetch-list" for these packages consistent
with other packages.

While we're in here, integrate DYNAMIC_MASTER_SITES with the
${ORDERED_SITES} macro. The only functional change here is that
${MASTER_SITE_OVERRIDE} is now respected. Still to do -- something
appropriate for "fetch-list" for these packages, like sourcing
"getsites.sh" into the generated script. (Well, "package", but there
are two others that do something similar in their "Makefile".)

Also eliminate the misbegotten _FETCH_ALLFILES macro -- now that only
"fetch" uses it, move it's functionality directly under "do-fetch".
2002-03-04 19:41:03 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2002/03/04 19:41:06 fredb Exp $
# KAME Id: Makefile,v 1.6 1999/11/28 14:36:04 itojun Exp
#
DISTNAME= IPv6socket_scrub
PKGNAME= ipv6socket_scrub-1.0
CATEGORIES= devel
# need to fetch on your own
#MASTER_SITES=
EXTRACT_SUFX= .tar
MAINTAINER= itojun@kame.net
HOMEPAGE= http://www.sun.com/solaris/ipv6/
COMMENT= checks IPv6 portability in source code
DECOMPRESS_CMD= ${CAT}
EXTRACT_BEFORE_ARGS= -xf
WRKSRC= ${WRKDIR}/${DISTNAME}/src
RESTRICTED= "not redistributable, license agreement required"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
_FETCH_MESSAGE= \
${ECHO} '======================================================='; \
${ECHO} ' You need to sign the agreement on ${HOMEPAGE}'; \
${ECHO} ' and fetch on your own.'; \
${ECHO} '======================================================='
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipv6socket_scrub ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../Docs/man/man1/ipv6socket_scrub.1 \
${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"