aboutsummaryrefslogtreecommitdiff
path: root/graphics/skencil/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-05-19 09:41:28 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-05-19 09:41:28 +0000
commitd3dae184e7cc0495a40bd2b014db4a049d05f44c (patch)
tree0b8b3d81b6de3f16bfded326704b873e8ca61496 /graphics/skencil/Makefile
parent5963bdad77ff96716c5710b415900207bd392805 (diff)
downloadports-d3dae184e7cc0495a40bd2b014db4a049d05f44c.tar.gz
ports-d3dae184e7cc0495a40bd2b014db4a049d05f44c.zip
Notes
Diffstat (limited to 'graphics/skencil/Makefile')
-rw-r--r--graphics/skencil/Makefile23
1 files changed, 7 insertions, 16 deletions
diff --git a/graphics/skencil/Makefile b/graphics/skencil/Makefile
index ca5cd63ad779..1bb3d8932b2b 100644
--- a/graphics/skencil/Makefile
+++ b/graphics/skencil/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: sketch
-# Version required: 0.5.5
+# Version required: 0.6.0
# Date created: 04 November 1998
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.2 1999/03/12 10:54:23 tg Exp $
+# $Id: Makefile,v 1.3 1999/05/06 14:09:05 tg Exp $
#
-DISTNAME= sketch-0.5.5
+DISTNAME= sketch-0.6.0
CATEGORIES= graphics
MASTER_SITES= http://www.online.de/home/sketch/
@@ -16,27 +16,16 @@ BUILD_DEPENDS= ${PREFIX}/include/python1.5/Imaging.h:${PORTSDIR}/graphics/py-ima
RUN_DEPENDS= python:${PORTSDIR}/lang/python \
${PREFIX}/lib/python1.5/site-packages/_imaging.so:${PORTSDIR}/graphics/py-imaging
-MAKE_FLAGS= OPT="${CFLAGS}" -f
-ALL_TARGET=
-
SKETCHDIR= ${PREFIX}/share/sketch
SKETCHDOCDIR= ${PREFIX}/share/doc/sketch
SKETCHDOCS= BUGS Doc NEWS PROJECTS README TODO
SKETCHEXDIR= ${PREFIX}/share/examples/sketch
-post-extract:
- ${CP} ${FILESDIR}/Setup.Pax ${WRKSRC}/Pax/Setup
- ${CP} ${FILESDIR}/Setup.Modules ${WRKSRC}/Sketch/Modules/Setup
-
do-configure:
- (cd ${WRKSRC}/Pax; ${MAKE} -f Makefile.pre.in boot)
- (cd ${WRKSRC}/Filter; ${MAKE} -f Makefile.pre.in boot)
- (cd ${WRKSRC}/Sketch/Modules; ${MAKE} -f Makefile.pre.in boot)
+ @(cd ${WRKSRC} && python setup.py configure)
do-build:
- @(cd ${WRKSRC}/Pax; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
- @(cd ${WRKSRC}/Filter; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
- @(cd ${WRKSRC}/Sketch/Modules; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} python setup.py build)
do-install:
${MKDIR} ${SKETCHDIR}
@@ -45,8 +34,10 @@ do-install:
(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 -)
+.endif
${MKDIR} ${SKETCHEXDIR}
(cd ${WRKSRC}/Examples; tar cf - .) | (cd ${SKETCHEXDIR}; tar xf -)
(cd ${SKETCHDIR}; python finishinst.py)