pkgsrc/net/inetutils/Makefile

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2017/09/08 09:45:12 adam Exp $
DISTNAME= inetutils-1.9.4
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=inetutils/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/inetutils/
COMMENT= GNU network utilities
LICENSE= gnu-gpl-v3
AUTO_MKDIRS= yes
INFO_FILES= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --program-prefix=g
CONFIGURE_ARGS+= --with-path-bshell=${SH:Q}
CONFIGURE_ARGS+= --with-path-cp=${CP:Q}
TEST_TARGET= check
post-install:
.for f in dnsdomainname ftp hostname ifconfig logger ping ping6 \
rcp rexec rlogin rsh talk telnet tftp traceroute whois
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
.endfor
.for f in ftpd inetd rexecd rlogind rshd syslogd talkd telnetd tftpd uucpd
${LN} -sf ${PREFIX}/libexec/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}libexec/${f}
${LN} -sf ${PREFIX}/${PKGMANDIR}/man8/g${f}.8 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man8/${f}.8
.endfor
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"