summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/pup/Makefile33
-rw-r--r--print/pup/distinfo1
-rw-r--r--print/pup/pkg-comment1
-rw-r--r--print/pup/pkg-descr15
-rw-r--r--print/pup/pkg-plist1
6 files changed, 52 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index c6e43e9cf294..7618cb00f571 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -158,6 +158,7 @@
SUBDIR += pstotext
SUBDIR += psutils-a4
SUBDIR += psutils-letter
+ SUBDIR += pup
SUBDIR += py-fonttools
SUBDIR += py-freetype
SUBDIR += py-reportlab
diff --git a/print/pup/Makefile b/print/pup/Makefile
new file mode 100644
index 000000000000..cf885d39cf68
--- /dev/null
+++ b/print/pup/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: pup Printer Utility Program
+# Date created: 7 Nob 2002
+# Whom: Klaus Goger <klaus.goger@reflex.at>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pup
+PORTVERSION= 1.1
+CATEGORIES= print
+MASTER_SITES= http://download.sourceforge.net/pup/
+DISTNAME= ${PORTNAME}_${PORTVERSION}_src
+
+MAINTAINER= klaus.goger@reflex.at
+
+USE_GNOMENG= yes
+USE_GNOME= gtk12
+USE_REINPLACE= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}/
+
+post-patch:
+ @echo ${WRKSRC}
+ @${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g' ${WRKSRC}/Makefile
+
+.for file in lexgui.c build_choices.c proutines.c
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/${file}
+.endfor
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/pup ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/print/pup/distinfo b/print/pup/distinfo
new file mode 100644
index 000000000000..a9bf6062d63b
--- /dev/null
+++ b/print/pup/distinfo
@@ -0,0 +1 @@
+MD5 (pup_1.1_src.tar.gz) = 9822effd0525f71d10b0d78d3a4b5833
diff --git a/print/pup/pkg-comment b/print/pup/pkg-comment
new file mode 100644
index 000000000000..ff9df685c95c
--- /dev/null
+++ b/print/pup/pkg-comment
@@ -0,0 +1 @@
+A GTK+ printer setup and maintaining tool
diff --git a/print/pup/pkg-descr b/print/pup/pkg-descr
new file mode 100644
index 000000000000..91a2b199ec5d
--- /dev/null
+++ b/print/pup/pkg-descr
@@ -0,0 +1,15 @@
+Pup (Printer Utility Program) is a GUI utility for maintaining your printer.
+
+Supports following printers
+ * Lexmark Optra Color 40
+ Color 45
+ E310
+ * HP 2100M
+ 4000
+ LJ4 Plus
+
+With read back additionally all PJL printers are supported.
+see lptcontrol(8)
+
+Author: matthewsimpson@users.sourceforge.net
+WWW: http://pup.sourceforge.net/
diff --git a/print/pup/pkg-plist b/print/pup/pkg-plist
new file mode 100644
index 000000000000..459dd5ccc6e1
--- /dev/null
+++ b/print/pup/pkg-plist
@@ -0,0 +1 @@
+bin/pup