1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/freebsd-update/Makefile
Colin Percival 80f6c8cd1f Turn
IGNORE=	"foo now contained in the base system"
into
IGNORE=	"is now contained in the base system"
since the code which prints this string prefices it with the package
name.

Suggested by:	kris
2006-09-13 05:24:34 +00:00

61 lines
1.7 KiB
Makefile

# New ports collection makefile for: FreeBSD Update Client
# Date created: 21 March 2003
# Whom: cperciva@daemonology.net
#
# $FreeBSD$
#
PORTNAME= freebsd-update
PORTVERSION= 1.6
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.daemonology.net/freebsd-update/
MAINTAINER= cperciva@daemonology.net
COMMENT= Fetches and installs binary updates to FreeBSD
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600034 && ( ${OSVERSION} < 504104 || ${OSVERSION} > 599999 )
RUN_DEPENDS= bspatch:${PORTSDIR}/misc/bsdiff
.endif
.if ${OSVERSION} > 700019 || ( ${OSVERSION} > 601104 && ${OSVERSION} < 700000 )
IGNORE= is now contained in the base system
.endif
# This is a critical security port. If it breaks, Bad Things will happen.
# Under no circumstances should this port ever be modified without approval
# from the maintainer or security-officer, even for "cosmetic" fixes.
# The RSA code has been tested and works on these platforms. On other
# platforms, it either doesn't work or hasn't been tested.
ONLY_FOR_ARCHS= i386 amd64 alpha sparc64
MAN5= freebsd-update.conf.5
MAN8= freebsd-update.8
PLIST_FILES= sbin/freebsd-update \
sbin/freebsd-update-verify \
etc/freebsd-update.conf.sample
PLIST_DIRS= freebsd-update
PKGMESSAGE= ${WRKDIR}/pkg-message
.ifdef NOPORTDOCS
MAKE_ENV+= NODOCS=yes
.else
PORTDOCS= LICENSE README VERSION
.endif
post-extract:
${SED} -e "s#PREFIX=/usr/local#PREFIX=${PREFIX}#g" \
${WRKSRC}/freebsd-update > ${WRKSRC}/freebsd-update.new
${MV} ${WRKSRC}/freebsd-update.new ${WRKSRC}/freebsd-update
@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/pkg-message \
> ${PKGMESSAGE}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>