2021-09-29 11:56:36 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2021/09/29 09:56:36 schmonz Exp $
|
2020-11-19 21:12:54 +01:00
|
|
|
|
2021-09-29 11:56:36 +02:00
|
|
|
DISTNAME= s6-networking-2.5.0.0
|
2020-11-19 21:12:54 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2021-02-04 10:16:45 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
|
2020-11-19 21:12:54 +01:00
|
|
|
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= https://skarnet.org/software/s6-networking/
|
|
|
|
COMMENT= Suite of small networking utilities
|
|
|
|
LICENSE= isc
|
|
|
|
|
2021-09-29 11:56:36 +02:00
|
|
|
MANPAGES= v2.5.0.0.1.tar.gz
|
2021-04-26 17:05:30 +02:00
|
|
|
SITES.${MANPAGES}= ${MASTER_SITE_GITHUB:=flexibeast/s6-networking-man-pages/archive/}
|
2021-02-04 10:16:45 +01:00
|
|
|
|
2020-11-19 21:12:54 +01:00
|
|
|
USE_TOOLS+= gmake
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --with-sysdeps=${PREFIX}/lib/skalibs/sysdeps
|
2020-11-22 12:33:22 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-absolute-paths
|
|
|
|
|
2021-02-04 10:16:45 +01:00
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man7
|
|
|
|
|
2020-11-22 12:33:22 +01:00
|
|
|
.include "options.mk"
|
2020-11-19 21:12:54 +01:00
|
|
|
|
2021-02-16 15:07:52 +01:00
|
|
|
.PHONY: do-install-manpages
|
2021-02-04 10:16:45 +01:00
|
|
|
post-install: do-install-manpages
|
|
|
|
do-install-manpages:
|
|
|
|
cd ${WRKDIR}/${PKGBASE}-man-pages-*; for i in 1 7; do \
|
|
|
|
for j in *.$$i; do \
|
|
|
|
${INSTALL_MAN} $$j \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; \
|
|
|
|
done \
|
|
|
|
done
|
|
|
|
|
2020-11-19 21:12:54 +01:00
|
|
|
.include "../../devel/skalibs/buildlink3.mk"
|
|
|
|
.include "../../net/s6-dns/buildlink3.mk"
|
|
|
|
.include "../../sysutils/s6/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|