2013-03-10 21:30:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2013/03/11 01:30:26 espie Exp $
|
2001-05-05 18:39:36 -04:00
|
|
|
|
2012-04-06 11:57:52 -04:00
|
|
|
COMMENT = serial and network communications package
|
1997-12-31 11:09:45 -05:00
|
|
|
|
2012-04-06 11:57:52 -04:00
|
|
|
PKGNAME = kermit-9.0.302
|
|
|
|
DISTNAME = cku302
|
|
|
|
CATEGORIES = comms
|
|
|
|
HOMEPAGE = http://www.kermitproject.org/
|
1997-12-31 11:09:45 -05:00
|
|
|
|
2012-04-06 11:57:52 -04:00
|
|
|
# THE C-KERMIT 9.0 LICENSE (Revised 3-Clause BSD License)
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2000-03-13 19:24:55 -05:00
|
|
|
|
2012-04-06 11:57:52 -04:00
|
|
|
WANTLIB = c curses m util
|
1997-12-31 11:09:45 -05:00
|
|
|
|
2012-04-06 11:57:52 -04:00
|
|
|
MASTER_SITES = ftp://ftp.kermitproject.org/kermit/archives/
|
2000-05-17 13:01:12 -04:00
|
|
|
|
2012-04-06 11:57:52 -04:00
|
|
|
WRKDIST = ${WRKDIR}
|
2001-09-30 15:08:58 -04:00
|
|
|
|
2012-04-06 11:57:52 -04:00
|
|
|
MAKE_FILE = makefile
|
|
|
|
ALL_TARGET = xermit
|
|
|
|
MAKE_FLAGS = KTARGET=openbsd CC="${CC}" CC2="${CC}" \
|
|
|
|
CFLAGS="${CFLAGS} -DBSD44 -DCK_CURSES -DCK_NEWTERM \
|
|
|
|
-DTCPSOCKET -DOPENBSD -DUSE_UU_LOCK -DFNFLOAT \
|
|
|
|
-DUSE_STRERROR -DCKHTTP" \
|
|
|
|
LIBS="-lcurses -lutil -lm"
|
2002-10-25 07:34:24 -04:00
|
|
|
|
2013-03-10 21:30:26 -04:00
|
|
|
NO_TEST = Yes
|
2012-04-06 11:57:52 -04:00
|
|
|
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/kermit
|
|
|
|
DOCS = COPYING.TXT ckaaaa.txt ckcbwr.txt ckc302.txt \
|
|
|
|
ckccfg.txt ckcplm.txt ckermit70.txt ckermit80.txt \
|
|
|
|
ckermit90.txt ckubwr.txt ckuins.txt ckututor.txt
|
|
|
|
EXAMPLEDIR = ${PREFIX}/share/examples/kermit
|
2001-09-30 15:08:58 -04:00
|
|
|
|
|
|
|
do-install:
|
2002-06-29 16:33:11 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/wermit ${PREFIX}/bin/kermit
|
2001-09-30 15:08:58 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1
|
2002-01-27 12:38:20 -05:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
for file in ${DOCS}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCDIR}; \
|
2001-09-30 15:08:58 -04:00
|
|
|
done
|
2002-01-27 12:38:20 -05:00
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
2012-04-06 11:57:52 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ockermit.ini ${EXAMPLEDIR}/dot.kermrc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ockermod.ini ${EXAMPLEDIR}/dot.mykermrc
|
1997-12-31 11:09:45 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|