Import sketch 0.3.2, From Anthony J. Bentley.
Sketch is a small, simple system for producing line drawings of two- or three-dimensional solid objects and scenes. The input language is reminiscent of PSTricks, so will be easy to learn for current PSTricks users. Sketch can generate output for PSTricks and Tikz/PGF. www: http://www.frontiernet.net/~eugene.ressler/ Add a patch to make it honour $CC, and install examples while here. ok jasper@
This commit is contained in:
parent
02b0b2b810
commit
b098d94b4d
33
graphics/sketch/Makefile
Normal file
33
graphics/sketch/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/15 18:34:20 landry Exp $
|
||||
|
||||
COMMENT = 3D scene description translator for TeX
|
||||
|
||||
DISTNAME = sketch-0.3.2
|
||||
EXTRACT_SUFX = .tgz
|
||||
|
||||
CATEGORIES = graphics
|
||||
|
||||
HOMEPAGE = http://www.frontiernet.net/~eugene.ressler/
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB += c m
|
||||
|
||||
MASTER_SITES = ${HOMEPAGE}
|
||||
|
||||
MAKE_FILE = makefile
|
||||
USE_GMAKE = Yes
|
||||
NO_REGRESS = Yes
|
||||
ALL_TARGET =
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sketch ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sketch
|
||||
${INSTALL_DATA} ${WRKSRC}/Data/* ${PREFIX}/share/examples/sketch
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
5
graphics/sketch/distinfo
Normal file
5
graphics/sketch/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (sketch-0.3.2.tgz) = KrqRYVy1cLdHRDsI9mi6FQ==
|
||||
RMD160 (sketch-0.3.2.tgz) = gMYWLramcmVRquBGMAiefxzxDYw=
|
||||
SHA1 (sketch-0.3.2.tgz) = 86l1SBmii4ufoDfsv/dRkcrdfI4=
|
||||
SHA256 (sketch-0.3.2.tgz) = 9vyJH881KEwBiqZ4a69nQpSU90mcUzt5AbDnQbKo5S8=
|
||||
SIZE (sketch-0.3.2.tgz) = 2881333
|
13
graphics/sketch/patches/patch-makefile
Normal file
13
graphics/sketch/patches/patch-makefile
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-makefile,v 1.1.1.1 2011/05/15 18:34:20 landry Exp $
|
||||
Honour ${CC}
|
||||
--- makefile.orig Sun May 15 20:25:19 2011
|
||||
+++ makefile Sun May 15 20:25:25 2011
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# makefile v0.03
|
||||
#
|
||||
-CC = gcc -O1 -g -Wall
|
||||
+CC ?= gcc -O1 -g -Wall
|
||||
#CC = gcc -g -Wall
|
||||
YACC = bison --defines --debug --report=all --yacc
|
||||
LEX = flex
|
4
graphics/sketch/pkg/DESCR
Normal file
4
graphics/sketch/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Sketch is a small, simple system for producing line drawings of two- or
|
||||
three-dimensional solid objects and scenes. The input language is
|
||||
reminiscent of PSTricks, so will be easy to learn for current PSTricks
|
||||
users. Sketch can generate output for PSTricks and Tikz/PGF.
|
9
graphics/sketch/pkg/PLIST
Normal file
9
graphics/sketch/pkg/PLIST
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/15 18:34:20 landry Exp $
|
||||
@bin bin/sketch
|
||||
share/examples/sketch/
|
||||
share/examples/sketch/2tori.sk
|
||||
share/examples/sketch/buggy.sk
|
||||
share/examples/sketch/bunny.sk
|
||||
share/examples/sketch/cone.sk
|
||||
share/examples/sketch/hand.sk
|
||||
share/examples/sketch/test.sk
|
Loading…
Reference in New Issue
Block a user