# $OpenBSD: Makefile,v 1.3 2007/07/04 17:36:00 ajacoutot Exp $ COMMENT= graphical tool to change Tux Paint's settings DISTNAME= tuxpaint-config-0.0.8 CATEGORIES= games graphics HOMEPAGE= http://www.tuxpaint.org/ MAINTAINER= Antoine Jacoutot # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxpaint/} WANTLIB= X11 Xext c m stdc++ Xau Xdmcp MODULES= devel/gettext LIB_DEPENDS= fltk.>=6::x11/fltk \ paper::print/libpaper USE_X11= Yes MAKE_ENV+= SYSCONFDIR=${SYSCONFDIR} NO_REGRESS= Yes pre-configure: @rm -rf ${WRKSRC}/obj @perl -pi -e 's,@\$$\(CXX\),\$$\(CXX\),g' ${WRKSRC}/Makefile @perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g;' \ -e 's,!!LOCALBASE!!,${LOCALBASE},g' \ ${WRKSRC}/src/tuxpaint-config.1 .include