2000-07-11 18:56:03 -04:00
|
|
|
# New ports collection makefile for: 4.0R to 4-stable upgrade kit
|
|
|
|
# Date created: 11 Jul 2000
|
|
|
|
# Whom: asami
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= 40upgrade
|
2000-11-02 16:34:10 -05:00
|
|
|
PORTVERSION= 2000.11.01
|
2000-07-11 18:56:03 -04:00
|
|
|
CATEGORIES= misc
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
|
|
|
MAINTAINER= asami@FreeBSD.org
|
|
|
|
|
2000-11-02 19:17:34 -05:00
|
|
|
FORBIDDEN= something wrong with shared library
|
|
|
|
|
2000-07-11 18:56:03 -04:00
|
|
|
.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} < 400020 || ${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
|
2000-11-02 16:34:10 -05:00
|
|
|
MAN1= pkg_add.1 pkg_create.1 pkg_delete.1 pkg_info.1 pkg_version.1
|
|
|
|
MANPREFIX= ${PREFIX}usr/share
|
|
|
|
MANCOMPRESSED= maybe
|
2000-07-11 18:56:03 -04:00
|
|
|
|
|
|
|
do-install:
|
2000-10-08 06:23:48 -04:00
|
|
|
${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/pkg-install \
|
2000-07-11 18:56:03 -04:00
|
|
|
> ${PKGINSTALL}
|
|
|
|
|
|
|
|
deinstall:
|
|
|
|
@${ECHO} "You can't delete this port."
|
|
|
|
@${FALSE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|