Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.62 2017/05/06 22:00:53 sthen Exp $
  2. COMMENT= MS-DOS Telix-like serial communication program
  3. DISTNAME= minicom-2.7.1
  4. REVISION= 0
  5. CATEGORIES= comms
  6. MASTER_SITES= https://www.alioth.debian.org/frs/download.php/latestfile/3/
  7. HOMEPAGE= http://alioth.debian.org/projects/minicom/
  8. LIB_DEPENDS= devel/gettext
  9. RUN_DEPENDS= comms/kermit \
  10. comms/lrzsz
  11. # GPL
  12. PERMIT_PACKAGE_CDROM= Yes
  13. WANTLIB= c iconv intl ncurses
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
  16. CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
  17. CONFIGURE_ARGS= --enable-cfg-dir=${SYSCONFDIR}/minicom \
  18. --enable-lock-dir=/var/spool/lock \
  19. --enable-dfl-port=/dev/cua00 \
  20. --enable-dfl-baud=9600
  21. post-install:
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/minicom
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/minicom
  24. ${INSTALL_DATA} ${WRKDIST}/doc/* ${PREFIX}/share/doc/minicom
  25. @rm ${PREFIX}/share/doc/minicom/Makefile*
  26. ${INSTALL_DATA} ${WRKDIST}/AUTHORS ${PREFIX}/share/doc/minicom
  27. ${INSTALL_DATA} ${WRKDIST}/COPYING ${PREFIX}/share/doc/minicom
  28. ${INSTALL_DATA} ${WRKDIST}/ChangeLog ${PREFIX}/share/doc/minicom
  29. @(umask 022; cp -RP ${WRKDIST}/extras ${PREFIX}/share/examples/minicom)
  30. @find ${PREFIX}/share/examples/minicom -name Makefile\* \
  31. -exec rm -f {} \;
  32. .include <bsd.port.mk>