From 86b6af553ce4ba9cc4916d21699c3bfaf10c716d Mon Sep 17 00:00:00 2001 From: lofi Date: Sun, 16 Nov 2003 19:10:44 +0000 Subject: Add libpaper, a library providing routines for paper size management. --- print/Makefile | 1 + print/libpaper/Makefile | 37 +++++++++++++++++++++++++++++++++ print/libpaper/distinfo | 1 + print/libpaper/files/patch-configure | 10 +++++++++ print/libpaper/files/patch-lib::paper.c | 10 +++++++++ print/libpaper/pkg-descr | 4 ++++ print/libpaper/pkg-plist | 7 +++++++ 7 files changed, 70 insertions(+) create mode 100644 print/libpaper/Makefile create mode 100644 print/libpaper/distinfo create mode 100644 print/libpaper/files/patch-configure create mode 100644 print/libpaper/files/patch-lib::paper.c create mode 100644 print/libpaper/pkg-descr create mode 100644 print/libpaper/pkg-plist (limited to 'print') diff --git a/print/Makefile b/print/Makefile index 105dabb..33a143f 100644 --- a/print/Makefile +++ b/print/Makefile @@ -93,6 +93,7 @@ SUBDIR += libgnomeprint SUBDIR += libgnomeprint20 SUBDIR += libijs + SUBDIR += libpaper SUBDIR += lilypond SUBDIR += lout SUBDIR += lprps-a4 diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile new file mode 100644 index 0000000..037d87c --- /dev/null +++ b/print/libpaper/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: libpaper +# Date created: Do 16 Nov 2003 20:00:00 CET +# Whom: lofi@freebsd.org +# +# $FreeBSD$ +# + +PORTNAME= libpaper +PORTVERSION= 1.1.13 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_DEBIAN} +MASTER_SITE_SUBDIR= pool/main/libp/libpaper +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= lofi@freebsd.org +COMMENT= A library providing routines for paper size management + +USE_LIBTOOL= Yes +LIBTOOLFLAGS= # None, we want the libtool archives +INSTALLS_SHLIB= Yes +USE_GETOPT_LONG=Yes +CONFIGURE_ARGS= --build=${CONFIGURE_TARGET} + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +MAN1= paperconf.1 +MAN3= defaultpapername.3 defaultpapersizefile.3 paperdone.3 paperfirst.3 \ + paperinfo.3 paperinit.3 paperlast.3 papernext.3 paperprev.3 \ + paperpsheight.3 paperpsname.3 paperpswidth.3 paperwithsize.3 \ + systempapername.3 systempapersizefile.3 +MAN5= papersize.5 +MAN8= paperconfig.8 + +pre-configure: + @${TOUCH} ${WRKSRC}/config.sub + +.include diff --git a/print/libpaper/distinfo b/print/libpaper/distinfo new file mode 100644 index 0000000..4fdbe9a --- /dev/null +++ b/print/libpaper/distinfo @@ -0,0 +1 @@ +MD5 (libpaper_1.1.13.tar.gz) = 2f4755d499cec67b05c9dafda2856806 diff --git a/print/libpaper/files/patch-configure b/print/libpaper/files/patch-configure new file mode 100644 index 0000000..8e6c8c4 --- /dev/null +++ b/print/libpaper/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Sun Nov 16 20:06:41 2003 ++++ configure Sun Nov 16 20:06:52 2003 +@@ -7865,6 +7865,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/print/libpaper/files/patch-lib::paper.c b/print/libpaper/files/patch-lib::paper.c new file mode 100644 index 0000000..285ff10 --- /dev/null +++ b/print/libpaper/files/patch-lib::paper.c @@ -0,0 +1,10 @@ +--- lib/paper.c.orig Sun Nov 16 19:56:24 2003 ++++ lib/paper.c Sun Nov 16 19:56:29 2003 +@@ -14,7 +14,6 @@ + #include + + #include +-#include + #include + #include + diff --git a/print/libpaper/pkg-descr b/print/libpaper/pkg-descr new file mode 100644 index 0000000..22a1182 --- /dev/null +++ b/print/libpaper/pkg-descr @@ -0,0 +1,4 @@ +wv2 is a library which allows access to Microsoft Word files. It is a +rewrite of the wv library. + +WWW: http://wvware.sourceforge.net/ diff --git a/print/libpaper/pkg-plist b/print/libpaper/pkg-plist new file mode 100644 index 0000000..c8cf18c --- /dev/null +++ b/print/libpaper/pkg-plist @@ -0,0 +1,7 @@ +bin/paperconf +include/paper.h +lib/libpaper.a +lib/libpaper.la +lib/libpaper.so +lib/libpaper.so.2 +sbin/paperconfig -- cgit v1.1