openbsd-ports/comms/kermit/Makefile

49 lines
1.4 KiB
Makefile
Raw Normal View History

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
COMMENT= serial and network communications package
PKGNAME= kermit-8.0.211
DISTNAME= cku211
CATEGORIES= comms
HOMEPAGE= http://www.kermit-project.org/
PERMIT_PACKAGE_CDROM= discriminatory license
2000-03-13 19:24:55 -05:00
PERMIT_PACKAGE_FTP= Yes
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
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
ftp://ftp.icm.edu.pl/pub/kermit/archives/
WRKDIST= ${WRKDIR}
MAKE_FILE= makefile
ALL_TARGET= xermit
2002-03-03 08:39:10 -05:00
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"
2010-10-18 12:52:44 -04:00
USE_GROFF = Yes
2002-10-25 07:34:24 -04:00
NO_REGRESS= Yes
DOCDIR= ${PREFIX}/share/doc/kermit
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
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/wermit ${PREFIX}/bin/kermit
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1
${INSTALL_DATA_DIR} ${DOCDIR}
for file in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCDIR}; \
done
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLEDIR}/dot.kermrc
${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLEDIR}/dot.mykermrc
.include <bsd.port.mk>