Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  5 Jan 2000 10:13:06 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/15913: Update port: graphics/sketch
Message-ID:  <20000105181306.9BF8814F61@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         15913
>Category:       ports
>Synopsis:       Update port: graphics/sketch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan  5 10:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Use LOCALBASE to refer external files
- tar -> TAR
- Support BINMODE

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/sketch/Makefile graphics/sketch/Makefile
--- /usr/ports/graphics/sketch/Makefile	Tue Jan  4 08:16:38 2000
+++ graphics/sketch/Makefile	Thu Jan  6 02:59:51 2000
@@ -12,10 +12,10 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-BUILD_DEPENDS=	${PREFIX}/include/python1.5/Imaging.h:${PORTSDIR}/graphics/py-imaging
-RUN_DEPENDS=	python:${PORTSDIR}/lang/python \
-		${PREFIX}/lib/python1.5/site-packages/_imaging.so:${PORTSDIR}/graphics/py-imaging \
-		${PREFIX}/lib/python1.5/site-packages/xml/__init__.py:${PORTSDIR}/textproc/py-xml
+BUILD_DEPENDS=	${LOCALBASE}/include/python1.5/Imaging.h:${PORTSDIR}/graphics/py-imaging
+RUN_DEPENDS=	python:${LOCALBASE}/lang/python \
+		${LOCALBASE}/lib/python1.5/site-packages/_imaging.so:${PORTSDIR}/graphics/py-imaging \
+		${LOCALBASE}/lib/python1.5/site-packages/xml/__init__.py:${PORTSDIR}/textproc/py-xml
 
 SKETCHDIR=	${PREFIX}/share/sketch
 SKETCHDOCDIR=	${PREFIX}/share/doc/sketch
@@ -29,22 +29,22 @@
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} python setup.py build)
 
 do-install:
-	${MKDIR} ${SKETCHDIR}
+	@${MKDIR} ${SKETCHDIR}
 .for dir in Filter Pax Plugins Resources Script Sketch
-	(cd ${WRKSRC}; tar -c -f - --exclude-from=${FILESDIR}/excludelist ${dir}) | \
-	    (cd ${SKETCHDIR}/; tar xf -)
+	(cd ${WRKSRC}; ${TAR} cf - --exclude-from=${FILESDIR}/excludelist ${dir}) | \
+	    (cd ${SKETCHDIR}; ${TAR} xf -)
 .endfor
 	(cd ${WRKSRC}; ${INSTALL_SCRIPT} finishinst.py sk2ps.py sketch.py ${SKETCHDIR})
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${SKETCHDOCDIR}
-	(cd ${WRKSRC}; tar cf - ${SKETCHDOCS}) | (cd ${SKETCHDOCDIR}; tar xf -)
+	@${MKDIR} ${SKETCHDOCDIR}
+	(cd ${WRKSRC}; ${TAR} cf - ${SKETCHDOCS}) | (cd ${SKETCHDOCDIR}; ${TAR} xf -)
 .endif
-	${MKDIR} ${SKETCHEXDIR}
-	(cd ${WRKSRC}/Examples; tar cf - .) | (cd ${SKETCHEXDIR}; tar xf -)
+	@${MKDIR} ${SKETCHEXDIR}
+	(cd ${WRKSRC}/Examples; ${TAR} cf - .) | (cd ${SKETCHEXDIR}; ${TAR} xf -)
 	(cd ${SKETCHDIR}; python finishinst.py)
 	${SED} -e "s|@PREFIX@|${PREFIX}|g" < ${FILESDIR}/sketch.in > ${PREFIX}/bin/sketch
-	${CHMOD} +x ${PREFIX}/bin/sketch
+	${CHMOD} ${BINMODE} ${PREFIX}/bin/sketch
 	${SED} -e "s|@PREFIX@|${PREFIX}|g" < ${FILESDIR}/sk2ps.in > ${PREFIX}/bin/sk2ps
-	${CHMOD} +x ${PREFIX}/bin/sk2ps
+	${CHMOD} ${BINMODE} ${PREFIX}/bin/sk2ps
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000105181306.9BF8814F61>