mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
add dvisvg 0.7.4d
Convertor from DVI to SVG
This commit is contained in:
parent
ab4ce999bd
commit
20becbe1a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133392
@ -55,6 +55,7 @@
|
||||
SUBDIR += dvips2ascii
|
||||
SUBDIR += dvipsk-tetex
|
||||
SUBDIR += dviselect
|
||||
SUBDIR += dvisvg
|
||||
SUBDIR += enscript-a4
|
||||
SUBDIR += enscript-letter
|
||||
SUBDIR += enscript-letterdj
|
||||
|
55
print/dvisvg/Makefile
Normal file
55
print/dvisvg/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: dvisvg
|
||||
# Date created: Apr 15, 2005
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dvisvg
|
||||
PORTVERSION= 0.7.1.d
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= http://dvisvg.sourceforge.net/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Convertor from DVI to SVG
|
||||
|
||||
BUILD_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX
|
||||
RUN_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX \
|
||||
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
||||
USE_REINPLACE= yes
|
||||
USE_GETOPT_LONG= yes
|
||||
USE_GHOSTSCRIPT_RUN= yes
|
||||
ALL_TARGET= # empty
|
||||
MAKE_ENV= TEXMFLOCAL=${TEXMFLOCAL}
|
||||
|
||||
TEXMFLOCAL= share/texmf-local
|
||||
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
|
||||
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
||||
|
||||
PLIST_FILES= bin/dvisvg
|
||||
MAN1= dvisvg.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,[$$][(]CC[)],$$\(CC\) ${CFLAGS}," ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e "s,/usr/share/texmf,${LOCALBASE}/${TEXMFLOCAL}," ${WRKSRC}/version.h
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/dvisvg ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/dvisvg.man ${MAN1PREFIX}/man/man1/dvisvg.1
|
||||
@${MKDIR} ${PREFIX}/${TEXMFLOCAL}/${PORTNAME}
|
||||
.for file in dvisvg.map font2svg.enc font2svg.ps
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${TEXMFLOCAL}/${PORTNAME}
|
||||
@${ECHO_CMD} "${TEXMFLOCAL}/${PORTNAME}/${file}" >> ${TMPPLIST}
|
||||
.endfor
|
||||
@${ECHO_CMD} "@dirrm ${TEXMFLOCAL}/${PORTNAME}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@exec ${MKTEXLSR}' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@unexec ${MKTEXLSR}' >> ${TMPPLIST}
|
||||
|
||||
post-install:
|
||||
@${MKTEXLSR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
print/dvisvg/distinfo
Normal file
2
print/dvisvg/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (dvisvg-0.7.1d.tar.gz) = e39da0063a4f8298060a2ba484d88eb1
|
||||
SIZE (dvisvg-0.7.1d.tar.gz) = 93405
|
27
print/dvisvg/files/patch-Makefile
Normal file
27
print/dvisvg/files/patch-Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
--- Makefile.orig Mon Feb 28 20:45:37 2005
|
||||
+++ Makefile Fri Apr 15 15:04:06 2005
|
||||
@@ -2,19 +2,19 @@
|
||||
# automaticaly generated by configure script
|
||||
|
||||
# Targer directory
|
||||
-TARGETDIR=/usr
|
||||
+TARGETDIR=${PREFIX}
|
||||
|
||||
# Kpathsea
|
||||
-LINC=$(TARGETDIR)/include
|
||||
-LLIB=$(TARGETDIR)/lib
|
||||
+LINC=$(LOCALBASE)/include
|
||||
+LLIB=$(LOCALBASE)/lib
|
||||
|
||||
# CC
|
||||
CC=cc -DHAVE_PROTOTYPES -posix
|
||||
|
||||
# Install
|
||||
-BINDIR=$(TARGETDIR)/bin/i586-pc-linux-gnu
|
||||
+BINDIR=$(TARGETDIR)/bin
|
||||
MANDIR=$(TARGETDIR)/man/man1
|
||||
-CNFDIR=/usr/share/texmf/dvisvg
|
||||
+CNFDIR=${PREFIX}/${TEXMFLOCAL}/dvisvg
|
||||
|
||||
# DVISVG
|
||||
OFILES=dvibase.o napln.o dvitfm.o svgfonts.o dvipage.o svgout.o
|
10
print/dvisvg/pkg-descr
Normal file
10
print/dvisvg/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
DVISVG creates one SVG Document, which includes content of the selected page
|
||||
from the specified DVI file. DVISVG produces outlines for used glyphs/characters
|
||||
in DVI file as an external SVG Font.
|
||||
|
||||
SVG Document produced by DVISVG uses external SVG Fonts so there is
|
||||
a problem with using Adobe's SVG Viewer which doesn't currently support it.
|
||||
Solution is using embeded fonts which can to be easily inserted in svg file
|
||||
from the external fonts file.
|
||||
|
||||
WWW: http://dvisvg.sourceforge.net/
|
Loading…
Reference in New Issue
Block a user