mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
New port. jpeg2ps which converts JPEG images to postscript level 2.
This commit is contained in:
parent
87ac79e889
commit
daa5c350c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36456
@ -90,6 +90,7 @@
|
||||
SUBDIR += jgraph
|
||||
SUBDIR += jgv
|
||||
SUBDIR += jpeg
|
||||
SUBDIR += jpeg2ps-letter
|
||||
SUBDIR += jslice
|
||||
SUBDIR += juno-2
|
||||
SUBDIR += kdc2tiff
|
||||
|
34
graphics/jpeg2ps-letter/Makefile
Normal file
34
graphics/jpeg2ps-letter/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# New ports collection makefile for: jpeg2ps (letter)
|
||||
# Date created: 30 December 2000
|
||||
# Whom: Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= jpeg2ps
|
||||
PORTVERSION= 1.8
|
||||
CATEGORIES= graphics converters
|
||||
MASTER_SITES= http://www.pdflib.com/jpeg2ps/
|
||||
PKGNAMESUFFIX= -${PAPERSIZE}
|
||||
|
||||
MAINTAINER= Lars.Koeller@Uni-Bielefeld.de
|
||||
|
||||
PAPERSIZE?= letter
|
||||
|
||||
INSTALL_TARGET=
|
||||
|
||||
.if ${PAPERSIZE} == a4
|
||||
post-patch:
|
||||
${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.input
|
||||
${SED} "s%CCFLAGS= -O -c%CCFLAGS= -O -c -DA4%" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile
|
||||
${RM} -f ${WRKSRC}/Makefile.input
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/jpeg2ps
|
||||
${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${PREFIX}/share/doc/jpeg2ps
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/jpeg2ps-letter/distinfo
Normal file
1
graphics/jpeg2ps-letter/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (jpeg2ps-1.8.tar.gz) = 780c1cf2c3c7bdf464d23eb407f14702
|
23
graphics/jpeg2ps-letter/files/patch-aa
Normal file
23
graphics/jpeg2ps-letter/files/patch-aa
Normal file
@ -0,0 +1,23 @@
|
||||
*** Makefile.org Sat Dec 30 14:30:00 2000
|
||||
--- Makefile Sat Dec 30 14:38:10 2000
|
||||
***************
|
||||
*** 15,23 ****
|
||||
# The following was reported to work for emx/gcc 0.9c fix04 under OS/2:
|
||||
# make -f Makefile "CCFLAGS=-c -DA4 -DDOS -O2" "LDFLAGS=-Zexe -s"
|
||||
|
||||
! CC=gcc
|
||||
! CCFLAGS= -c -DA4
|
||||
! LD=gcc
|
||||
LDFLAGS=
|
||||
OBJ=o
|
||||
EXE=
|
||||
--- 15,23 ----
|
||||
# The following was reported to work for emx/gcc 0.9c fix04 under OS/2:
|
||||
# make -f Makefile "CCFLAGS=-c -DA4 -DDOS -O2" "LDFLAGS=-Zexe -s"
|
||||
|
||||
! CC=cc
|
||||
! CCFLAGS= -O -c
|
||||
! LD=cc
|
||||
LDFLAGS=
|
||||
OBJ=o
|
||||
EXE=
|
1
graphics/jpeg2ps-letter/pkg-comment
Normal file
1
graphics/jpeg2ps-letter/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Converter for JPEG compressed images to PostScript Level 2
|
10
graphics/jpeg2ps-letter/pkg-descr
Normal file
10
graphics/jpeg2ps-letter/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
Purpose of jpeg2ps
|
||||
==================
|
||||
jpeg2ps converts JPEG files to PostScript Level 2 or 3 EPS. In fact, jpeg2ps
|
||||
is not really a converter but a "wrapper": it reads the image parameters
|
||||
(width, height, number of color components) in a JPEG file, writes the
|
||||
according EPS header and then copies the compressed JPEG data to the output
|
||||
file. Decompression is done by the PostScript interpreter (only PostScript
|
||||
Level 2 and 3 interpreters support JPEG compression and decompression).
|
||||
If you have a slow communication channel and a fast printer, sending
|
||||
compressed image data is a big win.
|
3
graphics/jpeg2ps-letter/pkg-plist
Normal file
3
graphics/jpeg2ps-letter/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/jpeg2ps
|
||||
share/doc/jpeg2ps/jpeg2ps.txt
|
||||
@dirrm share/doc/jpeg2ps
|
Loading…
Reference in New Issue
Block a user