blob: fc826634533bbc2c97475af4a826e79bcd4b0564 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# New ports collection makefile for: pkg
# Date created: 2012-01-18
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pkg
DISTVERSION= 1.0-beta7
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/portmgr \
http://files.etoilebsd.net/pkg/
MAINTAINER= portmgr@FreeBSD.org
COMMENT= New generation package manager
LICENSE= BSD
USE_BZIP2= yes
USE_LDCONFIG= yes
MANCOMPRESSED= yes
MAKE_ENV+= WITHOUT_PROFILE=yes
MAN8= pkg.8 \
pkg-add.8 \
pkg-autoremove.8 \
pkg-backup.8 \
pkg-create.8 \
pkg-delete.8 \
pkg-info.8 \
pkg-install.8 \
pkg-query.8 \
pkg-register.8 \
pkg-repo.8 \
pkg-search.8 \
pkg-update.8 \
pkg-updating.8 \
pkg-upgrade.8 \
pkg-version.8 \
pkg-which.8
MAN5= pkg.conf.5
PLIST_FILES= sbin/pkg \
sbin/pkg-static \
sbin/pkg2ng \
include/pkg.h \
lib/libpkg.so.0 \
lib/libpkg.so \
lib/libpkg.a
.include <bsd.port.pre.mk>
#define PKG_DEPENDS to nothing to avoid infinite loop looking for pkg :)
.if defined(WITH_PKGNG)
PKG_DEPENDS=
.undef INSTALLS_DEPENDS
.if !exists(${LOCALBASE}/sbin/pkg)
PKG_BIN= ${WRKSRC}/pkg-static/pkg-static
.endif
.endif
.if ${OSVERSION} < 800505
IGNORE= not supported on 7.x or early 8.0
.endif
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/ports/pkg2ng ${PREFIX}/sbin
.include <bsd.port.post.mk>
|