aboutsummaryrefslogtreecommitdiff
path: root/graphics/skencil
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-01-06 02:59:13 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-01-06 02:59:13 +0000
commit46de69bb892f951ef2f9c3e9fd61bf1b7621fd54 (patch)
treebb17e6096ca23b6772d25cf0cbd883faabdb7d3d /graphics/skencil
parentdcd61f541c7b88179aa647d0e5aac427c7cfd02a (diff)
downloadports-46de69bb892f951ef2f9c3e9fd61bf1b7621fd54.tar.gz
ports-46de69bb892f951ef2f9c3e9fd61bf1b7621fd54.zip
- Use LOCALBASE to refer external files
- tar -> TAR - Support BINMODE PR: 15913 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=24467
Diffstat (limited to 'graphics/skencil')
-rw-r--r--graphics/skencil/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/graphics/skencil/Makefile b/graphics/skencil/Makefile
index 8d78d2c028e3..2f14e01b5f90 100644
--- a/graphics/skencil/Makefile
+++ b/graphics/skencil/Makefile
@@ -12,10 +12,10 @@ MASTER_SITES= http://download.sourceforge.net/sketch/
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= ${LOCALBASE}/bin/python:${PORTSDIR}/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 @@ do-build:
@(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>