Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.22 2016/03/18 21:38:23 naddy Exp $
  2. COMMENT= drawing program for children
  3. DISTNAME= tuxpaint-0.9.22
  4. CATEGORIES= games graphics
  5. HOMEPAGE= http://www.tuxpaint.org/
  6. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxpaint/}
  10. WANTLIB += SDL SDL_Pango SDL_image SDL_mixer SDL_ttf c cairo fribidi
  11. WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 m paper
  12. WANTLIB += png pthread rsvg-2 z
  13. MODULES= devel/gettext
  14. BUILD_DEPENDS= devel/gperf
  15. LIB_DEPENDS= devel/sdl-image \
  16. devel/sdl-mixer \
  17. devel/sdl-ttf \
  18. x11/gnome/librsvg \
  19. print/libpaper \
  20. devel/sdl-pango \
  21. devel/fribidi
  22. RUN_DEPENDS= graphics/netpbm \
  23. devel/desktop-file-utils
  24. USE_GMAKE= Yes
  25. MAKE_ENV= SYSCONFDIR=${SYSCONFDIR} OPTFLAGS="${CFLAGS}"
  26. CFLAGS= -DHAVE_STRCASESTR
  27. NO_TEST= Yes
  28. pre-configure:
  29. @perl -pi -e 's,@\$$\(CC\),\$$\(CC\),g' ${WRKSRC}/Makefile
  30. ${SUBST_CMD} ${WRKSRC}/Makefile \
  31. ${WRKSRC}/src/manpage/tuxpaint.1
  32. .include <bsd.port.mk>