1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- sysutils/portupgrade: add option for BDB4:

(1) Do not change default dependency (depend on ruby-bdb1),
     since ruby-bdb (BDB >= 2) support is not so tested.
 (2) Thus, no PORTREVISION bump.

- a little Makefile change for portlint clean

PR:		ports/82000
Submitted by:	Alexander Novitsky <alecn@server.v42of.icc-vvd.ru>
Reviewed by:	KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
This commit is contained in:
Daichi GOTO 2005-06-29 08:03:30 +00:00
parent 9ebd95544c
commit 22571d20fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138159
4 changed files with 48 additions and 28 deletions

View File

@ -14,6 +14,9 @@ MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-${DISTVERSION}
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
DISTVERSION= 20041224
.if ${DISTVERSION} != ${PORTVERSION}
@ -23,12 +26,7 @@ PATCHFILES= ${DISTNAME}-${PORTVERSION}.diff.bz2
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
# ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
OPTIONS= BDB4 "Use Berkeley DB >=2 as backend. (Use BDB 1.85 if off)" off
USE_RC_SUBR= yes
USE_BZIP2= yes
@ -61,11 +59,18 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if defined(WITH_BDB4)
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
.else
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
.endif
# pkg_create(1) must support -b. (4.5-RELEASE or later)
# XXX: PKG_CMD is not defined yet..
PKG_CREATE_OK!= /usr/sbin/pkg_create 2>&1 | ${GREP} ' -b ' || ${TRUE}
.if empty(PKG_CREATE_OK)
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
.endif
post-install:

View File

@ -14,6 +14,9 @@ MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-${DISTVERSION}
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
DISTVERSION= 20041224
.if ${DISTVERSION} != ${PORTVERSION}
@ -23,12 +26,7 @@ PATCHFILES= ${DISTNAME}-${PORTVERSION}.diff.bz2
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
# ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
OPTIONS= BDB4 "Use Berkeley DB >=2 as backend. (Use BDB 1.85 if off)" off
USE_RC_SUBR= yes
USE_BZIP2= yes
@ -61,11 +59,18 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if defined(WITH_BDB4)
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
.else
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
.endif
# pkg_create(1) must support -b. (4.5-RELEASE or later)
# XXX: PKG_CMD is not defined yet..
PKG_CREATE_OK!= /usr/sbin/pkg_create 2>&1 | ${GREP} ' -b ' || ${TRUE}
.if empty(PKG_CREATE_OK)
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
.endif
post-install:

View File

@ -14,6 +14,9 @@ MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-${DISTVERSION}
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
DISTVERSION= 20041224
.if ${DISTVERSION} != ${PORTVERSION}
@ -23,12 +26,7 @@ PATCHFILES= ${DISTNAME}-${PORTVERSION}.diff.bz2
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
# ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
OPTIONS= BDB4 "Use Berkeley DB >=2 as backend. (Use BDB 1.85 if off)" off
USE_RC_SUBR= yes
USE_BZIP2= yes
@ -61,11 +59,18 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if defined(WITH_BDB4)
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
.else
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
.endif
# pkg_create(1) must support -b. (4.5-RELEASE or later)
# XXX: PKG_CMD is not defined yet..
PKG_CREATE_OK!= /usr/sbin/pkg_create 2>&1 | ${GREP} ' -b ' || ${TRUE}
.if empty(PKG_CREATE_OK)
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
.endif
post-install:

View File

@ -14,6 +14,9 @@ MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-${DISTVERSION}
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
DISTVERSION= 20041224
.if ${DISTVERSION} != ${PORTVERSION}
@ -23,12 +26,7 @@ PATCHFILES= ${DISTNAME}-${PORTVERSION}.diff.bz2
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= koma2@lovepeers.org
COMMENT= FreeBSD ports/packages administration and management tool suite
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
# ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
OPTIONS= BDB4 "Use Berkeley DB >=2 as backend. (Use BDB 1.85 if off)" off
USE_RC_SUBR= yes
USE_BZIP2= yes
@ -61,11 +59,18 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if defined(WITH_BDB4)
# For PKG_DBDRIVER={bdb_btree,bdb_hash,bdb}
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
.else
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb1.so:${PORTSDIR}/databases/ruby-bdb1
.endif
# pkg_create(1) must support -b. (4.5-RELEASE or later)
# XXX: PKG_CMD is not defined yet..
PKG_CREATE_OK!= /usr/sbin/pkg_create 2>&1 | ${GREP} ' -b ' || ${TRUE}
.if empty(PKG_CREATE_OK)
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
IGNORE= pkg_create does not support -b. Please update /usr/sbin/pkg_* to those of the latest RELENG_4
.endif
post-install: