# $NetBSD: Makefile,v 1.7 2009/09/12 19:45:29 snj Exp $ DISTNAME= PySolFC-1.1 PKGNAME= ${DISTNAME:tl} PKGREVISION= 4 CATEGORIES= games python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysolfc/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://pysolfc.sourceforge.net/ COMMENT= Over 1000 solitaire games LICENSE= gnu-gpl-v2 PKG_DESTDIR_SUPPORT= user-destdir PYDISTUTILSPKG= yes SUBST_CLASSES+= fix-paths SUBST_STAGE.fix-paths= post-patch SUBST_MESSAGE.fix-paths= Fixing absolute paths. SUBST_FILES.fix-paths= pysollib/settings.py SUBST_SED.fix-paths= -e s,@DATADIR@,${PREFIX}/share/PySolFC/, INSTALLATION_DIRS+= ${PKGMANDIR}/man6 post-install: ${INSTALL_MAN} ${WRKSRC}/docs/pysol.6 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/pysol.py.6 .include "../../lang/python/extension.mk" .include "../../x11/py-Tk/buildlink3.mk" .include "../../mk/bsd.pkg.mk"