aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2009-01-13 11:52:21 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2009-01-13 11:52:21 +0000
commit772133823126eee829e3774a9e3a5a55f9e527e4 (patch)
treec4dcd8bcb0dfec61258bd5fdd768f039a887d14b /graphics
parentafc0ff25dc613909a882d97341c389387ebeaec0 (diff)
downloadports-772133823126eee829e3774a9e3a5a55f9e527e4.tar.gz
ports-772133823126eee829e3774a9e3a5a55f9e527e4.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/jpg2pdf/Makefile30
-rw-r--r--graphics/jpg2pdf/distinfo3
-rw-r--r--graphics/jpg2pdf/pkg-descr10
4 files changed, 44 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 18fd5b26cc0a..d18338c163cd 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -339,6 +339,7 @@
SUBDIR += jpeginfo
SUBDIR += jpegoptim
SUBDIR += jpegpixi
+ SUBDIR += jpg2pdf
SUBDIR += jpgraph
SUBDIR += jpgraph2
SUBDIR += jpgtn
diff --git a/graphics/jpg2pdf/Makefile b/graphics/jpg2pdf/Makefile
new file mode 100644
index 000000000000..81c7ca758531
--- /dev/null
+++ b/graphics/jpg2pdf/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: jpg2pdf
+# Date created: 13 January 2009
+# Whom: luigi@freebsd.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= jpg2pdf
+PORTVERSION= 20090113
+CATEGORIES= graphics
+MASTER_SITES= http://info.iet.unipi.it/~luigi/FreeBSD/
+DISTNAME= ${PORTVERSION}-${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= luigi@FreeBSD.org
+COMMENT= Plain C converter of jpeg images to PDF or PostScript
+
+MAN1= jpg2pdf.1
+PLIST_FILES= bin/jpg2pdf
+
+WRKSRC=${WRKDIR}/${PORTNAME}
+
+do-build:
+ (cd ${WRKSRC} ; ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c )
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/graphics/jpg2pdf/distinfo b/graphics/jpg2pdf/distinfo
new file mode 100644
index 000000000000..994a59f7a370
--- /dev/null
+++ b/graphics/jpg2pdf/distinfo
@@ -0,0 +1,3 @@
+MD5 (20090113-jpg2pdf.tgz) = c7219a6ba393fee6a13808d032c92509
+SHA256 (20090113-jpg2pdf.tgz) = 744c57653a64b46fe01a83ed53d2633cdbd4109d6d5214f76e17445ef2b76103
+SIZE (20090113-jpg2pdf.tgz) = 6802
diff --git a/graphics/jpg2pdf/pkg-descr b/graphics/jpg2pdf/pkg-descr
new file mode 100644
index 000000000000..11779b085101
--- /dev/null
+++ b/graphics/jpg2pdf/pkg-descr
@@ -0,0 +1,10 @@
+jpg2pdf is a program to convert one or more JPG images into a
+single PDF or PostScript file.
+
+Compared to other similar programs, the main advantage of jpg2pdf
+is that it is very small, fast and entirely written in C.
+
+It works by simply wrapping the JPG data with appropriate PDF or PS
+glue so there is no image conversion involved.
+
+WWW: http://info.iet.unipi.it/~luigi/FreeBSD/