openbsd-ports/games/tuxpaint-config/Makefile
2009-12-17 17:11:00 +00:00

40 lines
853 B
Makefile

# $OpenBSD: Makefile,v 1.6 2009/12/17 17:11:00 ajacoutot Exp $
COMMENT= graphical tool to change Tux Paint's settings
DISTNAME= tuxpaint-config-0.0.12
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/}
WANTLIB= X11 Xau Xdmcp Xext c m stdc++
MODULES= devel/gettext
LIB_DEPENDS= fltk.>=6::x11/fltk \
paper::print/libpaper
RUN_DEPENDS= ::games/tuxpaint
USE_X11= Yes
USE_GMAKE= Yes
MAKE_ENV+= SYSCONFDIR=${SYSCONFDIR} CXX=${CXX}
NO_REGRESS= Yes
pre-configure:
@rm -rf ${WRKSRC}/obj
@perl -pi -e 's,@\$$\(CXX\),\$$\(CXX\),g' ${WRKSRC}/Makefile
${SUBST_CMD} ${WRKSRC}/src/tuxpaint-config.1
.include <bsd.port.mk>