# Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= portupgrade PORTVERSION= 2.4.14 PORTREVISION= 0 PORTEPOCH= 2 CATEGORIES= ports-mgmt MASTER_SITES= LOCAL/bdrewery/pkgtools/ \ http://mirror.shatow.net/freebsd/pkgtools/ \ GH DISTNAME= pkgtools-${PORTVERSION} MAINTAINER= bdrewery@FreeBSD.org COMMENT= FreeBSD ports/packages administration and management tool suite LICENSE= BSD3CLAUSE OPTIONS_DEFINE= DOCS CONFLICTS_INSTALL= portupgrade-devel-* USE_GITHUB= yes GH_ACCOUNT= freebsd DIST_SUBDIR= ${PORTNAME} USES= uidfix USE_RUBY= yes USE_LDCONFIG= ${PREFIX}/lib/compat/pkg MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}" \ RUBY_SITELIBDIR="${RUBY_SITELIBDIR}" MKDIR="${MKDIR}" EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools DOCSDIR= ${PREFIX}/share/doc/pkgtools .include INSTALL_TARGET= install .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET+= install-doc .endif # For PKG_DBDRIVER={bdb_btree,bdb_hash} RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:databases/ruby-bdb post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg .include