2010-10-11 04:11:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2010/10/11 08:14:01 jasper Exp $
|
2007-01-15 11:39:40 -05:00
|
|
|
|
2007-07-04 13:39:08 -04:00
|
|
|
COMMENT= drawing program for children
|
2007-01-15 11:39:40 -05:00
|
|
|
|
2009-12-17 12:10:34 -05:00
|
|
|
DISTNAME= tuxpaint-0.9.21
|
2010-10-11 04:11:24 -04:00
|
|
|
REVISION= 3
|
2007-01-15 11:39:40 -05:00
|
|
|
CATEGORIES= games graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.tuxpaint.org/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxpaint/}
|
|
|
|
|
2009-12-17 12:10:34 -05:00
|
|
|
WANTLIB += SDL X11 Xau Xdmcp Xrender c cairo expat fontconfig
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += freetype gdk_pixbuf-2.0 glib-2.0 gmodule-2.0
|
2009-12-17 12:10:34 -05:00
|
|
|
WANTLIB += gobject-2.0 m pixman-1 png pthread pthread-stubs xcb
|
2010-10-01 04:50:47 -04:00
|
|
|
WANTLIB += z gio-2.0 gthread-2.0 xcb-render xcb-render-util
|
2007-01-15 11:39:40 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2007-07-04 13:39:08 -04:00
|
|
|
LIB_DEPENDS= SDL_image.>=2::devel/sdl-image \
|
2007-01-15 11:39:40 -05:00
|
|
|
SDL_mixer.>=3::devel/sdl-mixer \
|
2007-07-04 13:39:08 -04:00
|
|
|
SDL_ttf.>=7:sdl-ttf->=2.0.8:devel/sdl-ttf \
|
2008-11-18 08:51:14 -05:00
|
|
|
rsvg-2.>=18::x11/gnome/librsvg \
|
2007-07-04 13:39:08 -04:00
|
|
|
paper::print/libpaper \
|
2008-10-16 13:01:36 -04:00
|
|
|
utf8.>=1::misc/libutf8 \
|
2009-12-17 12:10:34 -05:00
|
|
|
SDL_Pango::devel/sdl-pango \
|
|
|
|
fribidi::devel/fribidi
|
2007-07-04 13:39:08 -04:00
|
|
|
RUN_DEPENDS= ::graphics/netpbm \
|
|
|
|
:desktop-file-utils-*:devel/desktop-file-utils
|
2007-01-15 11:39:40 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2008-10-16 13:01:36 -04:00
|
|
|
MAKE_ENV+= SYSCONFDIR=${SYSCONFDIR} OPTFLAGS="${CFLAGS}"
|
2007-01-15 11:39:40 -05:00
|
|
|
CFLAGS+= -DHAVE_STRCASESTR
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2007-07-04 13:39:08 -04:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,@\$$\(CC\),\$$\(CC\),g' ${WRKSRC}/Makefile
|
2008-10-16 13:01:36 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/src/manpage/tuxpaint.1
|
2007-01-15 11:39:40 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|