summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/splix/Makefile39
-rw-r--r--print/splix/distinfo3
-rw-r--r--print/splix/files/patch-Makefile11
-rw-r--r--print/splix/pkg-descr24
-rw-r--r--print/splix/pkg-plist18
6 files changed, 96 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 213ff79ea119..b7c99a02d171 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -277,6 +277,7 @@
SUBDIR += rubygem-pdfwriter
SUBDIR += scribus
SUBDIR += sgf2tex
+ SUBDIR += splix
SUBDIR += sv-acroread
SUBDIR += t1utils
SUBDIR += teTeX
diff --git a/print/splix/Makefile b/print/splix/Makefile
new file mode 100644
index 000000000000..b0399a2fb92d
--- /dev/null
+++ b/print/splix/Makefile
@@ -0,0 +1,39 @@
+# Ports collection makefile for: splix
+# Date created: 2007-03-30
+# Whom: Tomas Verbaitis <tomasv@megalogika.lt>
+#
+# $FreeBSD$
+#
+
+PORTNAME= splix
+PORTVERSION= 1.0.1
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= tomasv@megalogika.lt
+COMMENT= A set of CUPS printer drivers for Samsung Printer Language printers
+
+BUILD_DEPENDS= cups-config:${PORTSDIR}/print/cups-base
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GMAKE= yes
+USE_BZIP2= yes
+
+PPD_FILES= ml1510 ml1520 ml1610 ml1710 ml1740 ml1750 ml2010 ml2150 ml2250 \
+ ml2550 clp300 clp500 clp510 clp600 xerox-phaser6100
+FILTER_FILE= rastertospl2
+CUPS_CONFIG= ${PREFIX}/bin/cups-config
+DATA_DEST_DIR= `${CUPS_CONFIG} --datadir | ${SED} \
+ 's|${LOCALBASE}|${PREFIX}|'`/model/samsung
+BIN_DEST_DIR= `${CUPS_CONFIG} --serverbin | ${SED} \
+ 's|${LOCALBASE}|${PREFIX}|'`/filter
+
+do-install:
+ ${MKDIR} ${DATA_DEST_DIR}
+.for PPD in ${PPD_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/ppd/${PPD}.ppd ${DATA_DEST_DIR}
+.endfor
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${FILTER_FILE} ${BIN_DEST_DIR}
+
+.include <bsd.port.mk>
diff --git a/print/splix/distinfo b/print/splix/distinfo
new file mode 100644
index 000000000000..780e0bce4c4d
--- /dev/null
+++ b/print/splix/distinfo
@@ -0,0 +1,3 @@
+MD5 (splix-1.0.1.tar.bz2) = bacb931c896ce153ffe7efbcb262855b
+SHA256 (splix-1.0.1.tar.bz2) = c4534b5e89282ce4a89922ca97c5b937c671bba4a44e376e684474f2f40daa0f
+SIZE (splix-1.0.1.tar.bz2) = 75492
diff --git a/print/splix/files/patch-Makefile b/print/splix/files/patch-Makefile
new file mode 100644
index 000000000000..e993b895fc59
--- /dev/null
+++ b/print/splix/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile Sun Feb 4 02:44:21 2007
++++ Makefile.port Thu Apr 19 22:33:09 2007
+@@ -4,7 +4,7 @@
+ # This project has been placed under the GPL Licence.
+ #
+
+-CXXFLAGS := -O2 `cups-config --cflags`
++CXXFLAGS += `cups-config --cflags`
+ LDFLAGS := `cups-config --ldflags`
+ CUPSFILTER := `cups-config --serverbin`/filter
+ CUPSPPD := `cups-config --datadir`/model
diff --git a/print/splix/pkg-descr b/print/splix/pkg-descr
new file mode 100644
index 000000000000..301d0a73b464
--- /dev/null
+++ b/print/splix/pkg-descr
@@ -0,0 +1,24 @@
+SpliX is a set of CUPS printer drivers for SPL (Samsung Printer Language)
+printers. Below is a non-exhaustive list of currently supported printers. Note
+that only SPL2 and SPLc printers are currently supported!
+
+Manufacturer Model State
+Xerox Phaser 6100 Works
+Samsung CLP-300 Non-working
+Samsung CLP-500 Works
+Samsung CLP-510 Works
+Samsung CLP-600 Non-working
+Samsung ML-1510 Works
+Samsung ML-1520 Works
+Samsung ML-1610 Works
+Samsung ML-1710 Works
+Samsung ML-1740 Works
+Samsung ML-1750 Works
+Samsung ML-2010 Works
+Samsung ML-2150 Untested
+Samsung ML-2250 Works
+Samsung ML-2550 Untested
+Samsung ML-2571 Works
+
+
+WWW: http://splix.sourceforge.net/
diff --git a/print/splix/pkg-plist b/print/splix/pkg-plist
new file mode 100644
index 000000000000..576ebf46a206
--- /dev/null
+++ b/print/splix/pkg-plist
@@ -0,0 +1,18 @@
+@comment $FreeBSD$
+libexec/cups/filter/rastertospl2
+share/cups/model/samsung/ml1510.ppd
+share/cups/model/samsung/ml1520.ppd
+share/cups/model/samsung/ml1610.ppd
+share/cups/model/samsung/ml1710.ppd
+share/cups/model/samsung/ml1740.ppd
+share/cups/model/samsung/ml1750.ppd
+share/cups/model/samsung/ml2010.ppd
+share/cups/model/samsung/ml2150.ppd
+share/cups/model/samsung/ml2250.ppd
+share/cups/model/samsung/ml2550.ppd
+share/cups/model/samsung/clp300.ppd
+share/cups/model/samsung/clp500.ppd
+share/cups/model/samsung/clp510.ppd
+share/cups/model/samsung/clp600.ppd
+share/cups/model/samsung/xerox-phaser6100.ppd
+@dirrm share/cups/model/samsung