aboutsummaryrefslogtreecommitdiffstats
path: root/misc/41upgrade/Makefile
blob: 07401da331df817f2c29ba2e5c910af78c440f7f (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:    4.1R to 4-stable upgrade kit
# Date created:     25 Aug 2000
# Whom:         asami
#
# $FreeBSD$
#

PORTNAME=   41upgrade
PORTVERSION=    2000.11.01
CATEGORIES= misc
DISTFILES=  # empty

MAINTAINER= asami@FreeBSD.org

.include <bsd.port.pre.mk>

.if !defined(PACKAGE_BUILDING)
BROKEN=     this \"port\" is for building packages for distribution only, please get the package from http://www.freebsd.org/ports/ if you need an upgrade
.elif ${OSVERSION} < 410000 || ${OSVERSION} >= 500000
FORBIDDEN=  this needs to be built on a recent 4-stable system
.endif
NO_MTREE=   yes
PREFIX=     /
NO_BUILD=   yes
PKGINSTALL= ${WRKDIR}/INSTALL
DATE!=      cat /var/db/port.mkversion
MAN1=       pkg_add.1 pkg_create.1 pkg_delete.1 pkg_info.1 pkg_version.1
MANPREFIX=  ${PREFIX}usr/share
MANCOMPRESSED=  maybe

do-install:
    ${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/pkg-install \
        > ${PKGINSTALL}

deinstall:
    @${ECHO} "You can't delete this port."
    @${FALSE}

.include <bsd.port.post.mk>