Makefile 752 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.28 2015/08/21 19:17:10 sthen Exp $
  2. COMMENT= cuddlesome teddy for the X11 desktop
  3. DISTNAME= xteddy-2.2
  4. REVISION= 0
  5. CATEGORIES= games
  6. HOMEPAGE= http://staffwww.itn.liu.se/~stegu/xteddy/
  7. MASTER_SITES= ${HOMEPAGE}
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += X11 Xext c Imlib2 freetype m z
  11. LIB_DEPENDS= graphics/imlib2
  12. CONFIGURE_STYLE= gnu
  13. CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
  14. LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
  15. NO_TEST= Yes
  16. pre-configure:
  17. .for f in configure xteddy.c
  18. @perl -pi -e 's#/usr/share/xteddy#${PREFIX}/share/xteddy#g' \
  19. ${WRKSRC}/${f}
  20. .endfor
  21. .for f in xtoys xteddy_test
  22. @perl -pi -e 's#!!PREFIX!!#${PREFIX}#g' ${WRKSRC}/${f}
  23. .endfor
  24. .include <bsd.port.mk>