aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tclsyslog
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-04-17 22:20:23 +0800
committerwxs <wxs@FreeBSD.org>2008-04-17 22:20:23 +0800
commitbcfd8ce174d625098a7112083fe371d70d9cc451 (patch)
tree36b7f58ff97a78d647c2040b93b568a4ecbd3ad4 /sysutils/tclsyslog
parent64a17ab67e0b6c69e0bf694f71d600893f5a806f (diff)
downloadfreebsd-ports-gnome-bcfd8ce174d625098a7112083fe371d70d9cc451.tar.gz
freebsd-ports-gnome-bcfd8ce174d625098a7112083fe371d70d9cc451.tar.zst
freebsd-ports-gnome-bcfd8ce174d625098a7112083fe371d70d9cc451.zip
TclSyslog provides an easy to use interface to the Syslog daemon.
PR: ports/122314 Submitted by: Frank Fenor <frank@fenor.de> Approved by: garga (mentor)
Diffstat (limited to 'sysutils/tclsyslog')
-rw-r--r--sysutils/tclsyslog/Makefile37
-rw-r--r--sysutils/tclsyslog/distinfo3
-rw-r--r--sysutils/tclsyslog/pkg-descr4
3 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/tclsyslog/Makefile b/sysutils/tclsyslog/Makefile
new file mode 100644
index 000000000000..5fc6251aa154
--- /dev/null
+++ b/sysutils/tclsyslog/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: tclsyslog
+# Date created: 31 March 2008
+# Whom: Frank Fenor <frank@fenor.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tclsyslog
+PORTVERSION= 2.1
+CATEGORIES= sysutils tcl
+MASTER_SITES= http://ftp.wagner.pp.ru/pub/tcl/tclsyslog/
+
+MAINTAINER= frank@fenor.de
+COMMENT= Tcl Interface to Syslog
+
+USE_TCL= 82+
+MANN= syslog.n
+MANCOMPRESSED= no
+
+WRKSRC= ${WRKDIR}/tclsyslog
+
+PLIST_FILES= lib/syslog/libsyslog.so.2.1 \
+ lib/syslog/pkgIndex.tcl
+PLIST_DIRS= lib/syslog
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e 's|CC=gcc|CC=${CC}|' \
+ -e 's| gcc| $${CC} $${CFLAGS}|' \
+ -e 's|CFLAGS=|CFLAGS=${CFLAGS}|' \
+ -e 's|LDFLAGS=-shared -L/usr/local/lib|LDFLAGS=-shared -L${PREFIX}/lib|' \
+ -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' \
+ -e 's|INCLUDES=-I/usr/local/include|INCLUDES=-I${TCL_INCLUDEDIR}|' \
+ -e 's|LOADLIBES=-ltclstub8.2|LOADLIBES=-ltclstub${TCL_VER:S/.//}|' \
+ ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/sysutils/tclsyslog/distinfo b/sysutils/tclsyslog/distinfo
new file mode 100644
index 000000000000..c0512bf46e84
--- /dev/null
+++ b/sysutils/tclsyslog/distinfo
@@ -0,0 +1,3 @@
+MD5 (tclsyslog-2.1.tar.gz) = f9541fbb1a4b4e84f0edfab8b2a03233
+SHA256 (tclsyslog-2.1.tar.gz) = 703004502a0258d736291e8e247f762661a5b80adceec0ff243faf6dd539245d
+SIZE (tclsyslog-2.1.tar.gz) = 6765
diff --git a/sysutils/tclsyslog/pkg-descr b/sysutils/tclsyslog/pkg-descr
new file mode 100644
index 000000000000..3dfb7269fd96
--- /dev/null
+++ b/sysutils/tclsyslog/pkg-descr
@@ -0,0 +1,4 @@
+TclSyslog provides an easy to use interface to the Syslog daemon.
+
+Author: Victor Wagner <vitus@wagner.pp.ru>
+WWW: http://www.wagner.pp.ru/~vitus/software/tcl/tclsyslog.html