994a1b56f2
- Refactored ip6_bit.c annd ip4_bit.c + depend routines. CIDR now working again.
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2019/05/05 15:17:49 schmonz Exp $
|
|
|
|
DISTNAME= ucspi-tcp6-1.10.5
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://www.fehcom.de/ipnet/ucspi-tcp6/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://www.fehcom.de/ipnet/ucspi-tcp6.html
|
|
COMMENT= Command-line tools for building TCP client-server applications
|
|
LICENSE= public-domain
|
|
|
|
CONFLICTS+= ucspi-tcp-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}/net/${PKGBASE}/${DISTNAME}
|
|
DJB_SLASHPACKAGE= yes
|
|
DJB_RESTRICTED= no
|
|
DJB_CONFIG_DIR= ${WRKSRC}
|
|
|
|
CFLAGS+= -I${PREFIX}/include/qlibs
|
|
LDFLAGS+= -L${PREFIX}/lib/qlibs
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
|
|
post-configure:
|
|
${RUN}cd ${DJB_CONFIG_DIR}; \
|
|
${MKDIR} compile; \
|
|
${ECHO} ${DJB_CONFIG_PREFIX}/bin > compile/home
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; \
|
|
for i in addcr argv0 delcr fixcrio mconnect-io rblsmtpd \
|
|
recordio tcpclient tcprules tcprulescheck tcpserver; do \
|
|
${INSTALL_PROGRAM} command/$${i} ${DESTDIR}${PREFIX}/bin; \
|
|
done; \
|
|
for i in date@ finger@ http@ mconnect tcpcat who@; do \
|
|
${INSTALL_SCRIPT} command/$${i} ${DESTDIR}${PREFIX}/bin; \
|
|
done; \
|
|
for i in *.1; do \
|
|
${INSTALL_MAN} man/$${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/;\
|
|
done; \
|
|
for i in *.5; do \
|
|
${INSTALL_MAN} man/$${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/;\
|
|
done
|
|
|
|
.include "../../net/fehqlibs/buildlink3.mk"
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|