2000-01-06 00:13:36 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2000/01/05 23:13:36 tron Exp $
|
1998-02-09 23:45:02 +01:00
|
|
|
# $FreeBSD Id: Makefile,v 1.17 1997/11/26 23:16:51 jseger Exp
|
|
|
|
#
|
|
|
|
|
2000-01-02 23:57:25 +01:00
|
|
|
DISTNAME= cku196
|
2000-01-04 02:49:13 +01:00
|
|
|
PKGNAME= kermit-7.0.196
|
1998-02-09 23:45:02 +01:00
|
|
|
CATEGORIES= comms
|
2000-01-04 02:49:13 +01:00
|
|
|
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/
|
1998-02-09 23:45:02 +01:00
|
|
|
|
1998-03-10 14:39:53 +01:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.columbia.edu/kermit/
|
1998-02-09 23:45:02 +01:00
|
|
|
|
|
|
|
RESTRICTED= "'No redistribution' copyright"
|
1999-11-23 17:26:12 +01:00
|
|
|
NO_CDROM= ${RESTRICTED}
|
1998-02-10 01:29:57 +01:00
|
|
|
MIRROR_DISTFILE= no
|
1999-12-20 13:33:45 +01:00
|
|
|
|
|
|
|
ALL_TARGET= netbsd
|
|
|
|
BUILD_DEFS+= KFLAGS LIBS KERMIT_SUID_UUCP
|
|
|
|
MAKE_ENV+= KFLAGS="${KFLAGS}" LIBS="${LIBS}"
|
|
|
|
MAKEFILE= makefile
|
1998-02-09 23:45:02 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2000-01-02 23:57:25 +01:00
|
|
|
#KFLAGS+= -DNODEBUG -DNOOLDMODEMS
|
1999-12-20 13:33:45 +01:00
|
|
|
|
|
|
|
# XXX This needs to be tested. XXX
|
|
|
|
#
|
|
|
|
# Include SOCKS firewall support
|
|
|
|
.if defined(USE_SOCKS)
|
|
|
|
.if ${USE_SOCKS} == 4
|
|
|
|
DEPENDS+= socks4-2.2:../../net/socks4
|
|
|
|
KFLAGS+= -DSOCKS
|
|
|
|
LIBS+= -lsocks
|
|
|
|
.elif ${USE_SOCKS} == 5
|
|
|
|
DEPENDS+= socks5-1.0.2:../../net/socks5
|
|
|
|
KFLAGS+= -DSOCKS -DCK_SOCKS5
|
|
|
|
LIBS+= -lsocks
|
|
|
|
.endif
|
|
|
|
.endif
|
1998-06-19 23:18:06 +02:00
|
|
|
|
2000-01-02 22:05:01 +01:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
1999-03-06 22:24:43 +01:00
|
|
|
|
1999-12-20 13:33:45 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
|
2000-01-02 22:05:01 +01:00
|
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
|
|
|
for OPT in ${MANINSTALL} x; do \
|
|
|
|
case $$OPT in \
|
|
|
|
catinstall) \
|
|
|
|
nroff -man ${WRKSRC}/ckuker.nr > ${WRKSRC}/kermit.0; \
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/kermit.0 ${PREFIX}/man/cat1/kermit.0; \
|
|
|
|
${ECHO} man/cat1/kermit.0 >>${PLIST_SRC}; \
|
|
|
|
;; \
|
|
|
|
maninstall) \
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1; \
|
|
|
|
${ECHO} man/man1/kermit.1 >>${PLIST_SRC}; \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done
|
1998-02-09 23:45:02 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
1999-12-20 13:33:45 +01:00
|
|
|
|
|
|
|
.if defined(KERMIT_SUID_UUCP)
|
|
|
|
.if ${KERMIT_SUID_UUCP} == "yes" || ${KERMIT_SUID_UUCP} == "YES"
|
|
|
|
BINOWN= uucp
|
|
|
|
BINMODE= 4555
|
|
|
|
.endif
|
|
|
|
.endif
|