Makefile 747 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.3 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT= intepreter for Lindenmayer-systems
  3. # CVS checkout on 04-30-2010
  4. DISTNAME= lsys-0.8
  5. CATEGORIES= graphics math
  6. HOMEPAGE= http://software.schmorp.de/pkg/lsys
  7. # GPLv3
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= http://crappydiffs.org/
  10. WANTLIB += GL GLU X11 Xext c m pthread ${LIBCXX}
  11. CONFIGURE_STYLE= gnu
  12. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
  13. LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
  14. post-extract:
  15. @rm ${WRKSRC}/getopt*.{c,h}
  16. do-install:
  17. ${INSTALL_PROGRAM} ${WRKSRC}/lsys ${PREFIX}/bin
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lsys
  19. ${INSTALL_DATA} ${WRKSRC}/lib/{*.l,cfg} ${PREFIX}/share/examples/lsys
  20. .include <bsd.port.mk>