mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
dd12f59107
- pkgdu: Fix syntax error with Ruby 2.3 (invalid next) PR: 218139
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= portupgrade
|
|
PORTVERSION= 2.4.15
|
|
PORTREVISION= 0
|
|
PORTEPOCH= 2
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
|
|
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
|
|
GH
|
|
|
|
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 <bsd.port.pre.mk>
|
|
|
|
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 <bsd.port.post.mk>
|