diff options
author | lofi <lofi@FreeBSD.org> | 2003-11-17 03:10:44 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2003-11-17 03:10:44 +0800 |
commit | 86b6af553ce4ba9cc4916d21699c3bfaf10c716d (patch) | |
tree | cb04f58d466f2dc1d21ae2d6991ebf387ecda06b /print | |
parent | e14fcf0de1f74fe8880c4f0d0766ff254c3af632 (diff) | |
download | freebsd-ports-gnome-86b6af553ce4ba9cc4916d21699c3bfaf10c716d.tar.gz freebsd-ports-gnome-86b6af553ce4ba9cc4916d21699c3bfaf10c716d.tar.zst freebsd-ports-gnome-86b6af553ce4ba9cc4916d21699c3bfaf10c716d.zip |
Add libpaper, a library providing routines for paper size management.
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/libpaper/Makefile | 37 | ||||
-rw-r--r-- | print/libpaper/distinfo | 1 | ||||
-rw-r--r-- | print/libpaper/files/patch-configure | 10 | ||||
-rw-r--r-- | print/libpaper/files/patch-lib::paper.c | 10 | ||||
-rw-r--r-- | print/libpaper/pkg-descr | 4 | ||||
-rw-r--r-- | print/libpaper/pkg-plist | 7 |
7 files changed, 70 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 105dabb849f5..33a143ff5348 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 000000000000..037d87cc6910 --- /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 <bsd.port.mk> diff --git a/print/libpaper/distinfo b/print/libpaper/distinfo new file mode 100644 index 000000000000..4fdbe9a70bc7 --- /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 000000000000..8e6c8c4d9f70 --- /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 000000000000..285ff1088c0f --- /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 <sys/stat.h> + + #include <stdio.h> +-#include <malloc.h> + #include <string.h> + #include <ctype.h> + diff --git a/print/libpaper/pkg-descr b/print/libpaper/pkg-descr new file mode 100644 index 000000000000..22a118280a9a --- /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 000000000000..c8cf18c62cbc --- /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 |