aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pdfoutline/Makefile
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-04-04 20:58:01 +0800
committersat <sat@FreeBSD.org>2007-04-04 20:58:01 +0800
commit248cfad5badf75208bbda5bc378cd375eae864f1 (patch)
treeb2fb990f33069e6aa7a17c08075bbbbfbc421792 /textproc/pdfoutline/Makefile
parentab7b45ceeea7c3379b4bd9a07d73f34d29fe1c89 (diff)
downloadfreebsd-ports-gnome-248cfad5badf75208bbda5bc378cd375eae864f1.tar.gz
freebsd-ports-gnome-248cfad5badf75208bbda5bc378cd375eae864f1.tar.zst
freebsd-ports-gnome-248cfad5badf75208bbda5bc378cd375eae864f1.zip
Add port textproc/pdfoutline:
pdfoutline adds outlines (aka bookmarks) to PDF files. It reads input file given as first argument, adds outlines from text file given as second argument, and saves result to file with name given as third argument. WWW: http://sourceforge.net/projects/fntsample/ Author: Eugeniy Meshcheryakov <eugeniy@users.sourceforge.net>
Diffstat (limited to 'textproc/pdfoutline/Makefile')
-rw-r--r--textproc/pdfoutline/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/pdfoutline/Makefile b/textproc/pdfoutline/Makefile
new file mode 100644
index 000000000000..6b39943c50d5
--- /dev/null
+++ b/textproc/pdfoutline/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: pdfoutline
+# Date created: 4 April 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pdfoutline
+PORTVERSION= 0.0.${DATE:S/-//g}
+DISTVERSION= 2.4
+CATEGORIES= textproc
+MASTER_SITES= SF/fntsample
+DISTNAME= fntsample-${DISTVERSION}
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Add outlines to PDF files
+
+RUN_DEPENDS= p5-PDF-API2>=0:${PORTSDIR}/textproc/p5-PDF-API2
+
+USE_PERL5_RUN= yes
+NO_BUILD= yes
+PLIST_FILES= bin/${PORTNAME}
+MAN1= ${PORTNAME}.1
+DATE= 2007-03-14
+
+post-patch:
+ @${SED} -e 's|@DATE@|2007-03-14|' ${WRKSRC}/${PORTNAME}.1.in > ${WRKSRC}/${PORTNAME}.1
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
+
+.include <bsd.port.mk>