PageRenderTime 34ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/net/tintin++/Makefile

https://github.com/johnnywalker/freebsd-ports
Makefile | 53 lines | 35 code | 12 blank | 6 comment | 1 complexity | 4e6255f3aec6769513f641652fbb1870 MD5 | raw file
  1. # New ports collection makefile for: tintin++
  2. # Date created: 15 Nov 1994
  3. # Whom: ache
  4. #
  5. # $FreeBSD$
  6. #
  7. PORTNAME= tintin++
  8. PORTVERSION= 2.00.7
  9. CATEGORIES+= net games
  10. MASTER_SITES= SF/tintin/TinTin%2B%2B%20Source%20Code/${PORTVERSION}/
  11. DISTNAME= tintin-${PORTVERSION}
  12. MAINTAINER= sunpoet@FreeBSD.org
  13. COMMENT= A client program to help playing MUDs
  14. LICENSE= GPLv2
  15. LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
  16. OPTIONS= BIG5 "Big5 support" off
  17. CONFIGURE_ARGS= --includedir=${LOCALBASE}/include \
  18. --libdir=${LOCALBASE}/lib \
  19. --prefix=${PREFIX}
  20. CONFIGURE_ENV= ac_cv_file__dev_ptmx=no
  21. GNU_CONFIGURE= yes
  22. LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
  23. USE_GMAKE= yes
  24. WRKSRC= ${WRKDIR}/tt/src
  25. DOCS= CREDITS FAQ README SCRIPTS TODO \
  26. docs/chat_protocol.txt docs/tintin19.txt
  27. PLIST_FILES= bin/tt++
  28. PORTDOCS= ${DOCS:T}
  29. .include <bsd.port.options.mk>
  30. .if defined(WITH_BIG5)
  31. CONFIGURE_ARGS+=--enable-big5
  32. .endif
  33. post-configure:
  34. @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile
  35. do-install:
  36. ${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin/
  37. .if !defined(NOPORTDOCS)
  38. ${INSTALL} -d ${DOCSDIR}/
  39. cd ${WRKSRC}/../ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
  40. .endif
  41. .include <bsd.port.mk>