2016-03-05 12:27:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.89 2016/03/05 11:28:10 jperkin Exp $
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2011-08-25 16:54:06 +02:00
|
|
|
DISTNAME= cku302
|
|
|
|
PKGNAME= kermit-9.0.302
|
2016-03-05 12:27:40 +01:00
|
|
|
PKGREVISION= 9
|
1998-02-09 23:45:02 +01:00
|
|
|
CATEGORIES= comms
|
2013-10-10 18:58:03 +02:00
|
|
|
MASTER_SITES= ftp://ftp.kermitproject.org/kermit/archives/
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2014-10-05 18:27:25 +02:00
|
|
|
HOMEPAGE= http://www.kermitproject.org/
|
2001-02-16 14:51:27 +01:00
|
|
|
COMMENT= Network and serial communication, file transfer, and scripting utility
|
2015-01-17 16:30:03 +01:00
|
|
|
|
|
|
|
# UNIX C-Kermit 9.0 has been released with the Revised 3-Clause BSD License.
|
|
|
|
# http://www.columbia.edu/kermit/licensing.html
|
|
|
|
LICENSE= modified-bsd
|
1999-12-20 13:33:45 +01:00
|
|
|
|
2002-01-28 13:06:55 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2004-10-04 01:50:23 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2005-12-02 18:01:35 +01:00
|
|
|
BUILD_DEFS+= KFLAGS LIBS MANINSTALL
|
2006-10-01 16:16:21 +02:00
|
|
|
MAKE_ENV+= KFLAGS=${KFLAGS:Q} LIBS=${LIBS:Q}
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
1998-02-09 23:45:02 +01:00
|
|
|
|
2013-10-10 18:58:03 +02:00
|
|
|
LIBS+= ${BUILDLINK_LDADD.termcap}
|
|
|
|
|
2000-01-02 23:57:25 +01:00
|
|
|
#KFLAGS+= -DNODEBUG -DNOOLDMODEMS
|
2011-12-06 02:19:15 +01:00
|
|
|
KFLAGS+= ${BUILDLINK_CPPFLAGS}
|
|
|
|
LIBS+= ${BUILDLINK_LDFLAGS}
|
1999-12-20 13:33:45 +01:00
|
|
|
|
2005-12-02 18:01:35 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2008-03-01 06:17:32 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/kermit
|
2005-06-16 08:57:37 +02:00
|
|
|
|
1999-12-20 13:33:45 +01:00
|
|
|
do-install:
|
2008-03-01 06:03:25 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${DESTDIR}${PREFIX}/bin/kermit
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/kermit
|
2008-03-01 06:17:32 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/ckuker.nr \
|
2014-10-05 18:27:25 +02:00
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/kermit.1
|
2000-01-06 17:31:06 +01:00
|
|
|
|
2011-12-06 02:19:15 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2013-10-10 18:58:03 +02:00
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
2011-12-06 02:19:15 +01:00
|
|
|
|
2003-07-02 22:37:34 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2011-11-20 13:01:50 +01:00
|
|
|
. if !empty(OS_VERSION:M??.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx10.6
|
|
|
|
. elif !empty(OS_VERSION:M9.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx10.5
|
|
|
|
. elif !empty(OS_VERSION:M8.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx10.4
|
|
|
|
. elif empty(OS_VERSION:M7.*)
|
|
|
|
BUILD_TARGET_OPSYS= macosx103.9
|
2006-10-01 16:16:21 +02:00
|
|
|
. else
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= macosx10
|
2006-10-01 16:16:21 +02:00
|
|
|
. endif
|
2005-04-27 18:15:24 +02:00
|
|
|
.elif ${OPSYS} == "Linux"
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= linux
|
2011-12-06 02:19:15 +01:00
|
|
|
MAKE_ENV+= HAVE_LIBCURSES=-l${BUILDLINK_LIBNAME.curses}
|
|
|
|
. if ${CURSES_TYPE} == "ncurses"
|
|
|
|
MAKE_ENV+= HAVE_CURSES=-DCK_NCURSES
|
|
|
|
. else
|
|
|
|
MAKE_ENV+= HAVE_CURSES=-DCK_NCURSES
|
|
|
|
. endif
|
2011-05-14 21:27:53 +02:00
|
|
|
.elif ${OPSYS} == "SunOS"
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= solaris11g
|
2003-07-02 22:37:34 +02:00
|
|
|
.else
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET_OPSYS= netbsd
|
1999-12-20 13:33:45 +01:00
|
|
|
.endif
|
2000-01-06 17:57:16 +01:00
|
|
|
|
2011-08-25 16:54:06 +02:00
|
|
|
BUILD_TARGET= ${BUILD_TARGET_OPSYS}${BUILD_TARGET_OPTIONS:ts}
|
|
|
|
|
2000-01-06 17:57:16 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|