a5880799c5
problem wiz stumbled upon only occurs if py-imaging is installed and py-imagingtk is not. pysolfc assumed that if py-imaging was installed, py-imagingtk was also installed. patch-ac corrects this by simply disabling the runtime detection of these optional dependencies. The real issue, it seems to me, is that py-imaging installs ImageTk.py, which needs py-imagingtk to be useful. This is why pysolfc got confused. pkgsrc should probably be changed to install ImageTk.py in the py-imagingtk package instead, but I'd rather not audit all py-imaging users right now, so I'll leave that for someone else. Bump PKGREVISION to 4.
33 lines
889 B
Makefile
33 lines
889 B
Makefile
# $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"
|