# $NetBSD: Makefile,v 1.27 2004/12/28 23:18:18 reed Exp $ # DISTNAME= tuxpaint-0.9.14 PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxpaint/} \ ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/source/ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.newbreedsoftware.com/tuxpaint/ COMMENT= Drawing program for small children USE_BUILDLINK3= YES USE_GNU_TOOLS+= make USE_PKGINSTALL= YES USE_PKGLOCALEDIR= YES MANCOMPRESSED= YES CONFLICTS+= tuxpaint-stamps<2003.12.23 MAKE_ENV+= CONFDIR="${PKG_SYSCONFDIR}" CP="${CP}" CHMOD="${CHMOD}" EGDIR= ${PREFIX}/share/examples/tuxpaint CONF_FILES= ${EGDIR}/tuxpaint.conf ${PKG_SYSCONFDIR}/tuxpaint.conf # this uses iconv and png functions directly, so link against them # explicitly. MAKE_ENV+= LIBS="${LIBS}" LIBS+= -liconv LIBS+= -lpng post-install: -${FIND} ${PREFIX}/share/doc/tuxpaint -name CVS -exec ${RM} -r {} \; 2>/dev/null -${RMDIR} ${PREFIX}/share/doc/tuxpaint/cz -${FIND} ${PREFIX}/share/tuxpaint -name CVS -exec ${RM} -r {} \; 2>/dev/null .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../devel/SDL_ttf/buildlink3.mk" .include "../../graphics/SDL_image/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/bsd.pkg.mk"