summaryrefslogtreecommitdiff
path: root/graphics/xpaint
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-02-05 11:31:43 +0000
committeragc <agc@pkgsrc.org>1998-02-05 11:31:43 +0000
commit10ff973d7915f84c52a93a616a2bd31df3ab1fab (patch)
tree990bd06554d9d56a65e830e2fa0379dada4297a9 /graphics/xpaint
parent23a0fba8bfc5b19edfc287afa5d344a034702251 (diff)
downloadpkgsrc-10ff973d7915f84c52a93a616a2bd31df3ab1fab.tar.gz
Initial import of xpaint-2.5, a graphical painting utility for X11,
into the NetBSD packages collection, from the FreeBSD port.
Diffstat (limited to 'graphics/xpaint')
-rw-r--r--graphics/xpaint/Makefile23
-rw-r--r--graphics/xpaint/files/md51
-rw-r--r--graphics/xpaint/patches/patch-aa63
-rw-r--r--graphics/xpaint/patches/patch-ac12
-rw-r--r--graphics/xpaint/patches/patch-ad14
-rw-r--r--graphics/xpaint/pkg/COMMENT1
-rw-r--r--graphics/xpaint/pkg/DESCR5
-rw-r--r--graphics/xpaint/pkg/PLIST3
8 files changed, 122 insertions, 0 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
new file mode 100644
index 00000000000..4742ff261a2
--- /dev/null
+++ b/graphics/xpaint/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: xpaint
+# Version required: 2.4.8
+# Date created: 2 Jan 1995
+# Whom: swallace
+#
+# FreeBSD Id: Makefile,v 1.14 1997/08/29 12:17:50 tg Exp
+#
+
+DISTNAME= xpaint-2.5
+CATEGORIES= graphics x11
+MASTER_SITES= http://www.danbbs.dk/~torsten/xpaint/
+
+MAINTAINER= ports@freebsd.org
+
+LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \
+ tiff\\.3\\.:${PORTSDIR}/graphics/tiff \
+ Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
+ png\\.0\\.:${PORTSDIR}/graphics/png
+
+WRKSRC= ${WRKDIR}/xpaint
+USE_IMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/xpaint/files/md5 b/graphics/xpaint/files/md5
new file mode 100644
index 00000000000..5ef04ec5818
--- /dev/null
+++ b/graphics/xpaint/files/md5
@@ -0,0 +1 @@
+MD5 (xpaint-2.5.tar.gz) = 62438af07c1b7ed777c57be35b7db2a3
diff --git a/graphics/xpaint/patches/patch-aa b/graphics/xpaint/patches/patch-aa
new file mode 100644
index 00000000000..093da3052bb
--- /dev/null
+++ b/graphics/xpaint/patches/patch-aa
@@ -0,0 +1,63 @@
+--- operation.c.orig Wed Aug 13 21:45:28 1997
++++ operation.c Fri Aug 29 13:47:20 1997
+@@ -43,34 +43,34 @@
+ #include "cutCopyPaste.h"
+
+ /* Pixmaps for toolbox icons */
+-#include "brushOp.xpm"
+-#include "eraseOp.xpm"
+-#include "sprayOp.xpm"
+-#include "pencilOp.xpm"
+-#include "dotPenOp.xpm"
+-#include "dynPenOp.xpm"
+-#include "lineOp.xpm"
+-#include "arcOp.xpm"
+-#include "fillOp.xpm"
+-#include "tfillOp.xpm"
++#include "bitmaps/brushOp.xpm"
++#include "bitmaps/eraseOp.xpm"
++#include "bitmaps/sprayOp.xpm"
++#include "bitmaps/pencilOp.xpm"
++#include "bitmaps/dotPenOp.xpm"
++#include "bitmaps/dynPenOp.xpm"
++#include "bitmaps/lineOp.xpm"
++#include "bitmaps/arcOp.xpm"
++#include "bitmaps/fillOp.xpm"
++#include "bitmaps/tfillOp.xpm"
+ #ifdef FEATURE_FRACTAL
+-#include "ffillOp.xpm"
++#include "bitmaps/ffillOp.xpm"
+ #endif
+-#include "smearOp.xpm"
+-#include "textOp.xpm"
+-#include "selectOp.xpm"
+-#include "boxOp.xpm"
+-#include "rayOp.xpm"
+-#include "fboxOp.xpm"
+-#include "ovalOp.xpm"
+-#include "fovalOp.xpm"
+-#include "lassoOp.xpm"
+-#include "clineOp.xpm"
+-#include "polyOp.xpm"
+-#include "fpolyOp.xpm"
+-#include "freehandOp.xpm"
+-#include "ffreehandOp.xpm"
+-#include "selpolyOp.xpm"
++#include "bitmaps/smearOp.xpm"
++#include "bitmaps/textOp.xpm"
++#include "bitmaps/selectOp.xpm"
++#include "bitmaps/boxOp.xpm"
++#include "bitmaps/rayOp.xpm"
++#include "bitmaps/fboxOp.xpm"
++#include "bitmaps/ovalOp.xpm"
++#include "bitmaps/fovalOp.xpm"
++#include "bitmaps/lassoOp.xpm"
++#include "bitmaps/clineOp.xpm"
++#include "bitmaps/polyOp.xpm"
++#include "bitmaps/fpolyOp.xpm"
++#include "bitmaps/freehandOp.xpm"
++#include "bitmaps/ffreehandOp.xpm"
++#include "bitmaps/selpolyOp.xpm"
+
+
+
diff --git a/graphics/xpaint/patches/patch-ac b/graphics/xpaint/patches/patch-ac
new file mode 100644
index 00000000000..8ca7032c794
--- /dev/null
+++ b/graphics/xpaint/patches/patch-ac
@@ -0,0 +1,12 @@
+--- ./misc.h.org Tue Jun 25 01:50:41 1996
++++ ./misc.h Tue Mar 25 18:20:30 1997
+@@ -23,7 +23,9 @@
+
+ #ifndef linux
+ #if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX)
++#if !defined(__FreeBSD__)
+ void srandom(unsigned int);
++#endif
+ #else
+ int srandom(unsigned int);
+ #endif /* BSD4_4 */
diff --git a/graphics/xpaint/patches/patch-ad b/graphics/xpaint/patches/patch-ad
new file mode 100644
index 00000000000..01365468594
--- /dev/null
+++ b/graphics/xpaint/patches/patch-ad
@@ -0,0 +1,14 @@
+--- dynPenOp.c.orig Wed Aug 13 16:10:00 1997
++++ dynPenOp.c Fri Aug 29 14:08:48 1997
+@@ -28,6 +28,11 @@
+ #include "misc.h"
+ #include "Paint.h"
+
++#ifndef HZ
++#include <time.h>
++#define HZ CLK_TCK
++#endif
++
+ #define XTIMEOUT ((unsigned long)(1.5*1000/HZ)) /* ms, should be larger than 1000/HZ */
+
+ typedef struct {
diff --git a/graphics/xpaint/pkg/COMMENT b/graphics/xpaint/pkg/COMMENT
new file mode 100644
index 00000000000..3e8f2ac54ae
--- /dev/null
+++ b/graphics/xpaint/pkg/COMMENT
@@ -0,0 +1 @@
+A simple paint program.
diff --git a/graphics/xpaint/pkg/DESCR b/graphics/xpaint/pkg/DESCR
new file mode 100644
index 00000000000..be34fca5ace
--- /dev/null
+++ b/graphics/xpaint/pkg/DESCR
@@ -0,0 +1,5 @@
+XPaint 2.4.6
+
+XPaint is a color image editing tool which features most standard paint
+program options. It allows for the editing of mul- tiple images simultaneously
+and supports various formats, including PPM, XBM, TIFF, etc.
diff --git a/graphics/xpaint/pkg/PLIST b/graphics/xpaint/pkg/PLIST
new file mode 100644
index 00000000000..bee8d3a19f2
--- /dev/null
+++ b/graphics/xpaint/pkg/PLIST
@@ -0,0 +1,3 @@
+bin/xpaint
+man/man1/xpaint.1.gz
+lib/X11/app-defaults/XPaint