Index: head/graphics/skencil/Makefile =================================================================== --- head/graphics/skencil/Makefile (revision 137871) +++ head/graphics/skencil/Makefile (revision 137872) @@ -1,66 +1,65 @@ # New ports collection makefile for: skencil # Date created: 04 November 1998 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= skencil -PORTVERSION= 0.6.16 -PORTREVISION= 1 +PORTVERSION= 0.6.17 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= sketch MAINTAINER= ports@FreeBSD.org COMMENT= An interactive drawing program BUILD_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/Imaging.h:${PORTSDIR}/graphics/py-imaging RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \ ${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging \ ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab \ ${PYXML} USE_PYTHON= yes USE_PYDISTUTILS= yes -.include - -.if ${PYTHON_VERSION} == "python2.4" -EXTRA_PATCHES= ${FILESDIR}/py24-patch-Pax_paxtkinter.c -.endif - CONFFLAGS= --tk-autoconf --tk-flags="-I${X11BASE}/include -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4 -L${LOCALBASE}/lib -ltk84 -ltcl84 -L${X11BASE}/lib -lX11" SKETCHDOCS= BUGS Doc NEWS PROJECTS README TODO SKETCHSCRIPTS= finishinst.py sk2ppm.py sk2ps.py skconvert.py skencil.py \ skshow.py do-configure: @(cd ${WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} \ ${PYTHON_CMD} setup.py configure ${CONFFLAGS}) +post-build: +.for exec in sk2ppm sk2ps skconvert skencil skshow + @${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${exec}.in + @${ECHO_CMD} '' >> ${WRKDIR}/${exec}.in + @${ECHO_CMD} 'exec ${PYTHON_CMD} ${DATADIR}/${exec}.py $$@' >> ${WRKDIR}/${exec}.in +.endfor + do-install: +.for exec in sk2ppm sk2ps skconvert skencil skshow + ${INSTALL_SCRIPT} ${WRKDIR}/${exec}.in ${PREFIX}/bin/${exec} +.endfor @${MKDIR} ${DATADIR} .for dir in Filter Pax Plugins Resources Script Sketch - (cd ${WRKSRC}; ${TAR} -cf - -X ${FILESDIR}/excludelist ${dir}) | \ - (cd ${DATADIR}; ${TAR} xf -) + ${TAR} -C ${WRKSRC} -cf - -X ${FILESDIR}/excludelist ${dir} | \ + ${TAR} -C ${DATADIR} -xf - .endfor (cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SKETCHSCRIPTS} ${DATADIR}) + (cd ${DATADIR}; ${PYTHON_CMD} finishinst.py) + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - (cd ${WRKSRC}; ${TAR} cf - ${SKETCHDOCS}) | (cd ${DOCSDIR}; ${TAR} xf -) + ${TAR} -C ${WRKSRC} -cf - ${SKETCHDOCS} | ${TAR} -C ${DOCSDIR} -xf - + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/Examples; ${TAR} cf - .) | (cd ${EXAMPLESDIR}; ${TAR} xf -) + ${TAR} -C ${WRKSRC}/Examples -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf - + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif - (cd ${DATADIR}; ${PYTHON_CMD} finishinst.py) -.for exec in sk2ppm sk2ps skconvert skencil skshow - ${SED} -e "s|@DATADIR@|${DATADIR}|g ; \ - s|@PYTHON_CMD@|${PYTHON_CMD}|g" \ - < ${FILESDIR}/${exec}.in > ${PREFIX}/bin/${exec} - ${CHMOD} ${BINMODE} ${PREFIX}/bin/${exec} - ${CHOWN} ${BINOWN}:${BINGROUP} ${PREFIX}/bin/${exec} -.endfor -.include +.include Property changes on: head/graphics/skencil/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.38 \ No newline at end of property +1.39 \ No newline at end of property Index: head/graphics/skencil/distinfo =================================================================== --- head/graphics/skencil/distinfo (revision 137871) +++ head/graphics/skencil/distinfo (revision 137872) @@ -1,2 +1,2 @@ -MD5 (skencil-0.6.16.tar.gz) = 22db4f78151629df428c387e035fdad2 -SIZE (skencil-0.6.16.tar.gz) = 1136249 +MD5 (skencil-0.6.17.tar.gz) = 03f0a57cf623bcd657a4b8887d3ebe0b +SIZE (skencil-0.6.17.tar.gz) = 1148628 Property changes on: head/graphics/skencil/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.20 \ No newline at end of property +1.21 \ No newline at end of property Index: head/graphics/skencil/files/py24-patch-Pax_paxtkinter.c =================================================================== --- head/graphics/skencil/files/py24-patch-Pax_paxtkinter.c (revision 137871) +++ head/graphics/skencil/files/py24-patch-Pax_paxtkinter.c (nonexistent) @@ -1,25 +0,0 @@ ---- Pax/paxtkinter.c.orig Sun May 4 04:55:36 2003 -+++ Pax/paxtkinter.c Mon Apr 18 12:40:08 2005 -@@ -1866,6 +1866,9 @@ - char *className = NULL; - int interactive = 0; - -+ int ignored_int = 0; -+ char *ignored_charp = NULL; -+ - baseName = strrchr(Py_GetProgramName(), '/'); - if (baseName != NULL) - baseName++; -@@ -1873,9 +1876,10 @@ - baseName = Py_GetProgramName(); - className = "Tk"; - -- if (!PyArg_ParseTuple(args, "|zssi", -+ if (!PyArg_ParseTuple(args, "|zssiiiiz:create", - &screenName, &baseName, &className, -- &interactive)) -+ &interactive, &ignored_int, &ignored_int, -+ &ignored_int, &ignored_charp)) - return NULL; - - return (PyObject *) Tkapp_New(screenName, baseName, className, Property changes on: head/graphics/skencil/files/py24-patch-Pax_paxtkinter.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/skencil/files/skshow.in =================================================================== --- head/graphics/skencil/files/skshow.in (revision 137871) +++ head/graphics/skencil/files/skshow.in (nonexistent) @@ -1,3 +0,0 @@ -#!/bin/sh - -exec @PYTHON_CMD@ @DATADIR@/skshow.py $@ Property changes on: head/graphics/skencil/files/skshow.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.3 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/skencil/files/sk2ppm.in =================================================================== --- head/graphics/skencil/files/sk2ppm.in (revision 137871) +++ head/graphics/skencil/files/sk2ppm.in (nonexistent) @@ -1,3 +0,0 @@ -#!/bin/sh - -exec @PYTHON_CMD@ @DATADIR@/sk2ppm.py $@ Property changes on: head/graphics/skencil/files/sk2ppm.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/skencil/files/sk2ps.in =================================================================== --- head/graphics/skencil/files/sk2ps.in (revision 137871) +++ head/graphics/skencil/files/sk2ps.in (nonexistent) @@ -1,3 +0,0 @@ -#!/bin/sh - -exec @PYTHON_CMD@ @DATADIR@/sk2ps.py $@ Property changes on: head/graphics/skencil/files/sk2ps.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.5 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/skencil/files/skencil.in =================================================================== --- head/graphics/skencil/files/skencil.in (revision 137871) +++ head/graphics/skencil/files/skencil.in (nonexistent) @@ -1,3 +0,0 @@ -#!/bin/sh - -exec @PYTHON_CMD@ @DATADIR@/skencil.py $@ Property changes on: head/graphics/skencil/files/skencil.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/skencil/files/skconvert.in =================================================================== --- head/graphics/skencil/files/skconvert.in (revision 137871) +++ head/graphics/skencil/files/skconvert.in (nonexistent) @@ -1,3 +0,0 @@ -#!/bin/sh - -exec @PYTHON_CMD@ @DATADIR@/skconvert.py $@ Property changes on: head/graphics/skencil/files/skconvert.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.2 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property