Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.31 2015/10/15 08:30:27 bentley Exp $
  2. COMMENT = serial and network communications package
  3. PKGNAME = kermit-9.0.302
  4. DISTNAME = cku302
  5. CATEGORIES = comms
  6. HOMEPAGE = http://www.kermitproject.org/
  7. # THE C-KERMIT 9.0 LICENSE (Revised 3-Clause BSD License)
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB = c curses m util
  10. MASTER_SITES = http://www.kermitproject.org/ftp/kermit/archives/
  11. WRKDIST = ${WRKDIR}
  12. MAKE_FILE = makefile
  13. ALL_TARGET = xermit
  14. MAKE_FLAGS = KTARGET=openbsd CC="${CC}" CC2="${CC}" \
  15. CFLAGS="${CFLAGS} -DBSD44 -DCK_CURSES -DCK_NEWTERM \
  16. -DTCPSOCKET -DOPENBSD -DUSE_UU_LOCK -DFNFLOAT \
  17. -DUSE_STRERROR -DCKHTTP" \
  18. LIBS="-lcurses -lutil -lm"
  19. NO_TEST = Yes
  20. DOCDIR = ${PREFIX}/share/doc/kermit
  21. DOCS = COPYING.TXT ckaaaa.txt ckcbwr.txt ckc302.txt \
  22. ckccfg.txt ckcplm.txt ckermit70.txt ckermit80.txt \
  23. ckermit90.txt ckubwr.txt ckuins.txt ckututor.txt
  24. EXAMPLEDIR = ${PREFIX}/share/examples/kermit
  25. do-install:
  26. ${INSTALL_PROGRAM} ${WRKBUILD}/wermit ${PREFIX}/bin/kermit
  27. ${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1
  28. ${INSTALL_DATA_DIR} ${DOCDIR}
  29. for file in ${DOCS}; do \
  30. ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCDIR}; \
  31. done
  32. ${INSTALL_DATA_DIR} ${EXAMPLEDIR}
  33. ${INSTALL_DATA} ${WRKSRC}/ockermit.ini ${EXAMPLEDIR}/dot.kermrc
  34. ${INSTALL_DATA} ${WRKSRC}/ockermod.ini ${EXAMPLEDIR}/dot.mykermrc
  35. .include <bsd.port.mk>