openbsd-ports/games/tuxpaint-config/Makefile
2007-06-02 00:48:30 +00:00

38 lines
785 B
Makefile

# $OpenBSD: Makefile,v 1.2 2007/06/02 00:48:30 ajacoutot Exp $
COMMENT= "graphical tool to change Tux Paint's settings"
DISTNAME= tuxpaint-config-0.0.7
PKGNAME= ${DISTNAME}p0
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 Xext c m stdc++ Xau Xdmcp
MODULES= devel/gettext
LIB_DEPENDS= fltk.>=6::x11/fltk
USE_X11= Yes
MAKE_ENV+= SYSCONFDIR=${SYSCONFDIR}
NO_REGRESS= Yes
pre-build:
perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g;' \
-e 's,!!LOCALBASE!!,${LOCALBASE},g' \
${WRKSRC}/src/tuxpaint-config.1
.include <bsd.port.mk>