From 278f3e371b1c161f718ce024c91d6a14eba9c75c Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 22 Aug 2000 14:11:11 +0000 Subject: Add clibpdf, a library for creating PDF (Acrobat) files directly via C language programs. --- print/clibpdf/files/esecanna.sh | 39 +++++++++++++++++++++++++++++++++++++++ print/clibpdf/files/patch-aa | 22 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 print/clibpdf/files/esecanna.sh create mode 100644 print/clibpdf/files/patch-aa (limited to 'print/clibpdf/files') diff --git a/print/clibpdf/files/esecanna.sh b/print/clibpdf/files/esecanna.sh new file mode 100644 index 000000000000..a8fc53c3f75a --- /dev/null +++ b/print/clibpdf/files/esecanna.sh @@ -0,0 +1,39 @@ +#!/bin/sh +# +# $FreeBSD: /tmp/pcvs/ports/print/clibpdf/files/Attic/esecanna.sh,v 1.1 2000-08-22 14:11:10 knu Exp $ + +esecannaserver="!!PREFIX!!/sbin/esecannaserver" + +case "$1" in +start) + if [ -f !!PREFIX!!/vje30/.version ] \ + && grep -qw 'FREE TRIAL VERSION' !!PREFIX!!/vje30/.version; then + echo '' + echo 'esecanna:' + echo ' Using VJE-Delta 3.0 trial, it is unable to connect to vjed on startup.' + echo ' Please execute $esecannaserver manually after once you run vje.' + exit 1 + fi + + if [ -x $esecannaserver ]; then + rm -f /tmp/.iroha_unix/IROHA + echo -n ' esecanna: ' + $esecannaserver + fi + ;; +stop) + pidfile="/var/run/esecanna.pid" + if [ -f $pidfile ]; then + kill `cat $pidfile` && echo -n ' esecanna' + rm $pidfile + else + echo ' esecanna: not running' + fi + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; +esac + +exit 0 diff --git a/print/clibpdf/files/patch-aa b/print/clibpdf/files/patch-aa new file mode 100644 index 000000000000..2e3057048cb9 --- /dev/null +++ b/print/clibpdf/files/patch-aa @@ -0,0 +1,22 @@ +--- Makefile.FreeBSD.orig Sun Nov 21 14:54:44 1999 ++++ Makefile.FreeBSD Tue Aug 22 22:23:03 2000 +@@ -1,8 +1,8 @@ + # Makefile for ClibPDF library - FreeBSD/gcc + # make lib; make install OR make shlib; make shinstall + +-LIB_FILE=libcpdfm.a +-SHLIB_FILE=libcpdfm.sl ++LIB_FILE=libcpdf.a ++SHLIB_FILE=libcpdf.so + # LIB_FILE=libcpdfpm.a + # SHLIB_FILE=libcpdfpm.sl + +@@ -75,7 +75,7 @@ + + $(SHLIB_FILE): $(OBJS) $(POBJS) $(ZOBJS) Makefile + rm -f $(SHLIB_FILE) +- ld -b -o $(SHLIB_FILE) $(OBJS) $(POBJS) $(ZOBJS) ++ ld -shared -o $(SHLIB_FILE) $(OBJS) $(POBJS) $(ZOBJS) + + install: lib + # mkdir -p $(LIB_DIR) -- cgit v1.2.3