blob: 688a8afcbdb2d4ade53a45dd2cd71fb1015d5ad6 (
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
|
# $NetBSD: Makefile,v 1.12 2022/08/17 12:06:38 tnn Exp $
DISTNAME= s6-networking-2.5.1.0
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES_DIST}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://skarnet.org/software/s6-networking/
COMMENT= Suite of small networking utilities
LICENSE= isc
# man-pages version is usually not exactly in-sync with PKGVERSION_NOREV
MANPAGES_VERSION= 2.5.0.0.3
MANPAGES_DIST= s6-networking-man-pages-${MANPAGES_VERSION}.tar.gz
SITES.${MANPAGES_DIST}= -${MASTER_SITE_GITHUB:=flexibeast/s6-networking-man-pages/archive/}v${MANPAGES_VERSION}.tar.gz
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --with-sysdeps=${PREFIX}/lib/skalibs/sysdeps
CONFIGURE_ARGS+= --enable-absolute-paths
INSTALLATION_DIRS+= ${PKGMANDIR}/man7 ${PKGMANDIR}/man8
.include "options.mk"
.PHONY: do-install-manpages
post-install: do-install-manpages
do-install-manpages:
cd ${WRKDIR}/${PKGBASE}-man-pages-*; for i in 7 8; do \
for j in man$$i/*.$$i; do \
${INSTALL_MAN} $$j \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; \
done \
done
.include "../../devel/skalibs/buildlink3.mk"
.include "../../net/s6-dns/buildlink3.mk"
.include "../../sysutils/s6/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|