2010-10-18 12:52:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2010/10/18 16:57:48 espie Exp $
|
2001-05-05 18:39:36 -04:00
|
|
|
|
2007-09-15 21:37:09 -04:00
|
|
|
COMMENT= serial and network communications package
|
1997-12-31 11:09:45 -05:00
|
|
|
|
2004-04-14 16:30:21 -04:00
|
|
|
PKGNAME= kermit-8.0.211
|
|
|
|
DISTNAME= cku211
|
1997-12-31 11:09:45 -05:00
|
|
|
CATEGORIES= comms
|
2001-09-30 15:08:58 -04:00
|
|
|
HOMEPAGE= http://www.kermit-project.org/
|
1997-12-31 11:09:45 -05:00
|
|
|
|
2007-09-15 21:37:09 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= discriminatory license
|
2000-03-13 19:24:55 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 21:37:09 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= discriminatory license
|
2000-03-13 19:24:55 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 17:29:50 -05:00
|
|
|
WANTLIB= c curses m util
|
2000-03-13 19:24:55 -05:00
|
|
|
|
2001-09-30 15:08:58 -04:00
|
|
|
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
|
|
|
|
ftp://ftp.icm.edu.pl/pub/kermit/archives/
|
1997-12-31 11:09:45 -05:00
|
|
|
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
2000-05-17 13:01:12 -04:00
|
|
|
|
2001-09-30 15:08:58 -04:00
|
|
|
MAKE_FILE= makefile
|
2002-06-29 16:33:11 -04:00
|
|
|
ALL_TARGET= xermit
|
2002-03-03 08:39:10 -05:00
|
|
|
MAKE_FLAGS= KTARGET=openbsd CC="${CC}" CC2="${CC}" \
|
2001-09-30 15:08:58 -04:00
|
|
|
CFLAGS="${CFLAGS} -DBSD44 -DCK_CURSES -DCK_NEWTERM \
|
2002-02-09 07:48:21 -05:00
|
|
|
-DTCPSOCKET -DOPENBSD -DUSE_UU_LOCK -DFNFLOAT -DUSE_STRERROR \
|
2002-06-29 16:33:11 -04:00
|
|
|
-DCKHTTP" \
|
|
|
|
LIBS="-lcurses -lutil -lm"
|
2001-09-30 15:08:58 -04:00
|
|
|
|
2010-10-18 12:52:44 -04:00
|
|
|
USE_GROFF = Yes
|
2002-10-25 07:34:24 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-09-30 15:08:58 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/kermit
|
2002-01-27 12:38:20 -05:00
|
|
|
DOCS= COPYING.TXT ckaaaa.txt ckcbwr.txt ckccfg.txt ckcplm.txt \
|
|
|
|
ckermit70.txt ckermit80.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}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLEDIR}/dot.kermrc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLEDIR}/dot.mykermrc
|
1997-12-31 11:09:45 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|