2001-03-18 00:06:40 +01:00
|
|
|
# New ports collection makefile for: portupgrade
|
|
|
|
# Date created: 18 March 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= portupgrade
|
2001-11-03 13:21:15 +01:00
|
|
|
PORTVERSION= 20011103
|
2001-03-18 00:06:40 +01:00
|
|
|
CATEGORIES= sysutils
|
2001-03-18 15:09:07 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://www.iDaemons.org/distfiles/
|
2001-03-18 00:06:40 +01:00
|
|
|
MASTER_SITE_SUBDIR= knu
|
2001-10-26 21:16:22 +02:00
|
|
|
DISTNAME= pkgtools-${PORTVERSION}
|
2001-09-07 09:25:47 +02:00
|
|
|
|
2001-10-26 21:16:22 +02:00
|
|
|
#PATCH_SITES= ${MASTER_SITES}
|
|
|
|
#PATCHFILES= pkgtools-${PORTVERSION}.patch.gz
|
2001-03-18 00:06:40 +01:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2001-05-30 09:00:21 +02:00
|
|
|
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
|
2001-06-10 22:57:39 +02:00
|
|
|
${RUBY_SITEARCHLIBDIR}/fnmatch.so:${PORTSDIR}/devel/ruby-fnmatch \
|
2001-08-26 21:58:38 +02:00
|
|
|
${RUBY_SITELIBDIR}/uri.rb:${PORTSDIR}/net/ruby-uri \
|
2001-09-17 20:09:58 +02:00
|
|
|
${LOCALBASE}/sbin/pkg_tarup:${PORTSDIR}/misc/pkg_tarup
|
2001-03-18 00:06:40 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
|
2001-10-29 23:18:30 +01:00
|
|
|
MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}"
|
2001-08-17 16:20:35 +02:00
|
|
|
|
2001-07-26 21:28:42 +02:00
|
|
|
MAN1= pkg_deinstall.1 \
|
2001-08-26 21:58:38 +02:00
|
|
|
pkg_fetch.1 \
|
2001-07-26 21:28:42 +02:00
|
|
|
pkg_glob.1 \
|
2001-10-06 23:01:34 +02:00
|
|
|
pkgdb.1 \
|
2001-08-11 11:22:05 +02:00
|
|
|
portcvsweb.1 \
|
|
|
|
portsclean.1 \
|
2001-06-15 11:36:29 +02:00
|
|
|
portsdb.1 \
|
|
|
|
portupgrade.1 \
|
|
|
|
portversion.1
|
2001-11-03 13:21:15 +01:00
|
|
|
MAN5= pkgtools.conf.5
|
2001-09-22 00:46:14 +02:00
|
|
|
MLINKS= pkgdb.1 pkg_which.1 \
|
|
|
|
portupgrade.1 portinstall.1 \
|
|
|
|
portsdb.1 ports_glob.1
|
2001-10-29 23:18:30 +01:00
|
|
|
MANCOMPRESSED= maybe
|
2001-06-15 11:36:29 +02:00
|
|
|
|
2001-08-21 14:29:39 +02:00
|
|
|
DOCS= ChangeLog README
|
|
|
|
|
2001-10-29 23:18:30 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/pkgtools
|
2001-08-21 14:29:39 +02:00
|
|
|
|
2001-10-29 23:18:30 +01:00
|
|
|
post-install:
|
2001-10-06 23:01:34 +02:00
|
|
|
# Remove old database
|
|
|
|
${RM} -f /var/db/pkg/pkgdb.byfile.db
|
2001-10-24 15:08:20 +02:00
|
|
|
if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
|
|
|
|
fi
|
2001-08-25 17:14:42 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-21 14:29:39 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
|
|
|
.endfor
|
2001-03-18 00:06:40 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|