blob: 7f56a0e5f5b31bf2a098f4360cc4c315025b549a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= portupgrade
PORTVERSION= 2.4.13
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= ports-mgmt
MASTER_SITES= SF/portupgrade/pkgtools/dist/ \
http://mirror.shatow.net/freebsd/pkgtools/ \
LOCAL/bdrewery/pkgtools/
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-*
DIST_SUBDIR= ${PORTNAME}
USES= tar:bzip2 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:${PORTSDIR}/databases/ruby-bdb
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg
.include <bsd.port.post.mk>
|