blob: b51e6c0502f865dce8cdcf540c77cb8698516b2c (
plain)
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
|
# $NetBSD: Makefile,v 1.6 2011/08/20 15:45:13 cheusov Exp $
DISTNAME= pkgnih-0.8.0
PKGNAME= ${DISTNAME:S/pkgnih/nih/}
PKGREVISION= 2
CATEGORIES= pkgtools
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/nih/ \
http://mova.org/~cheusov/pub/pkgnih/
MAINTAINER= vle@gmx.net
HOMEPAGE= https://github.com/cheusov/pkgnih
COMMENT= Package manager for pkgsrc
LICENSE= 2-clause-bsd
DEPENDS+= pkg_summary-utils>=0.53.2:../../pkgtools/pkg_summary-utils
DEPENDS+= digest-[0-9]*:../../pkgtools/digest
DEPENDS+= pkg_install>=20100915:../../pkgtools/pkg_install
BUILD_DEPENDS+= mk-configure>=0.21.0:../../devel/mk-configure
CONFLICTS= pkg_status-[0-9]*
SUPERSEDES= pkgnih-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= all all-doc
INSTALL_TARGET= install install-doc
EGDIR= ${PREFIX}/share/examples/nih
CONF_FILES= ${EGDIR}/nih.conf \
${PKG_SYSCONFDIR}/nih/config
MAKE_DIRS+= ${PKG_SYSCONFDIR}/nih
REPLACE_INTERPRETER+= runawk
REPLACE.runawk.old= .*runawk
REPLACE.runawk.new= ${PREFIX}/bin/runawk
REPLACE_FILES.runawk= nih/pkg_update_plan.in
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_PROGRAM= mkcmake
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == NetBSD || ${OPSYS} == FreeBSD || ${OPSYS} == OpenBSD || \
${OPSYS} == DragonFly || ${OPSYS} == MirBSD
FTP_CMD=/usr/bin/ftp
.else
FTP_CMD=${PREFIX}/bin/ftp
DEPENDS+= tnftp-[0-9]*:../../net/tnftp
.endif
MAKE_ENV+= FTP=${FTP_CMD:Q}
.include "../../mk/bsd.pkg.mk"
|