Makefile 976 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.16 2017/05/27 04:58:08 espie Exp $
  2. COMMENT= Berkeley's implementation of the logo programming language
  3. DISTNAME= ucblogo-5.5
  4. REVISION= 3
  5. CATEGORIES= lang
  6. HOMEPAGE= http://www.cs.berkeley.edu/~bh/logo.html
  7. # BSD
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= ICE SM X11 c m pthread-stubs termcap xcb
  10. NO_TEST= Yes
  11. MAKE_FILE= makefile
  12. ALL_TARGET= logo makehelp helpfiles helpfiles/HELPCONTENTS
  13. CONFIGURE_STYLE=gnu
  14. CONFIGURE_ARGS+=--x-includes=${X11BASE}/include \
  15. --x-libraries=${X11BASE}/lib
  16. pre-configure:
  17. @perl -pi.beforesubst \
  18. -e 's:\@logopath@:${LOCALBASE}/share/ucblogo:g;' \
  19. -e 's:\@logohelp@:${LOCALBASE}/share/ucblogo/helpfiles:g;' \
  20. ${WRKSRC}/init.c
  21. do-install:
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/ucblogo/helpfiles
  23. ${INSTALL_DATA} ${WRKSRC}/helpfiles/* ${PREFIX}/share/ucblogo/helpfiles
  24. ${INSTALL_DATA} ${WRKSRC}/Messages ${PREFIX}/share/ucblogo/messages
  25. ${INSTALL_PROGRAM} ${WRKSRC}/logo ${PREFIX}/bin
  26. .include <bsd.port.mk>