summaryrefslogtreecommitdiffstats
path: root/security/tclsasl
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-04-29 15:55:15 +0000
committerpav <pav@FreeBSD.org>2006-04-29 15:55:15 +0000
commit228928ea6e1c7fa1fa61fe3040208f6a7f552dbd (patch)
tree14b1ea22bd82736daedd254c4e132c59887cccd9 /security/tclsasl
parent33235547cfebb3203ef4dcddc9bc44dfcd36d943 (diff)
downloadFreeBSD-ports-228928ea6e1c7fa1fa61fe3040208f6a7f552dbd.zip
FreeBSD-ports-228928ea6e1c7fa1fa61fe3040208f6a7f552dbd.tar.gz
Tcl SASL provides a Tcl interface to the Cyrus SASLv2 library.
WWW: http://beepcore-tcl.sourceforge.net/tclsasl.html PR: ports/96359 Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
Diffstat (limited to 'security/tclsasl')
-rw-r--r--security/tclsasl/Makefile38
-rw-r--r--security/tclsasl/distinfo3
-rw-r--r--security/tclsasl/files/patch-Makefile.in28
-rw-r--r--security/tclsasl/files/patch-configure11
-rw-r--r--security/tclsasl/pkg-descr3
-rw-r--r--security/tclsasl/pkg-plist6
6 files changed, 89 insertions, 0 deletions
diff --git a/security/tclsasl/Makefile b/security/tclsasl/Makefile
new file mode 100644
index 0000000..5f58800
--- /dev/null
+++ b/security/tclsasl/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: tclsasl
+# Date created: Wed Apr 26 12:42:16 MSD 2006
+# Whom: Denis Shaposhnikov <dsh@vlink.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tclsasl
+PORTVERSION= 1.0
+CATEGORIES= security tcl84
+MASTER_SITES= http://beepcore-tcl.sourceforge.net/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dsh@vlink.ru
+COMMENT= A Tcl interface to the Cyrus SASLv2 library
+
+LIB_DEPENDS= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+# USE_TCL hack
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+GNU_CONFIGURE= yes
+USE_TCL= yes
+INSTALLS_SHLIB= yes
+
+CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
+ --with-tclinclude=${TCL_INCLUDEDIR} \
+ --with-cyrus-sasl=${LOCALBASE}
+CONFIGURE_ENV= INSTALL="${INSTALL_DATA}"
+
+PORTDOCS= tclsasl.html
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/tclsasl.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/tclsasl/distinfo b/security/tclsasl/distinfo
new file mode 100644
index 0000000..1043f10
--- /dev/null
+++ b/security/tclsasl/distinfo
@@ -0,0 +1,3 @@
+MD5 (tclsasl-1.0.tgz) = 6d8cc2bd31d9d41a999a72817308d165
+SHA256 (tclsasl-1.0.tgz) = 4a07365339b4ec9bbc3d0d3a726d6f06608b49b0a1524e2ce5b22d2be14a2e25
+SIZE (tclsasl-1.0.tgz) = 229245
diff --git a/security/tclsasl/files/patch-Makefile.in b/security/tclsasl/files/patch-Makefile.in
new file mode 100644
index 0000000..fc524ec
--- /dev/null
+++ b/security/tclsasl/files/patch-Makefile.in
@@ -0,0 +1,28 @@
+--- Makefile.in.orig Sat Jun 8 11:10:07 2002
++++ Makefile.in Wed Apr 26 13:14:22 2006
+@@ -137,7 +137,7 @@
+ WISH_PROG = @WISH_PROG@
+ tclsasl_LIB_FILE = @tclsasl_LIB_FILE@
+
+-LIB_TCL = -ltcl83
++LIB_TCL = $(TCL_STUB_LIB_SPEC)
+ LIB_SASL = @CYRUS_LIBS@
+
+ tclsasl_version = 1:0:0
+@@ -367,7 +367,7 @@
+ install: install-am
+ uninstall-am: uninstall-libLTLIBRARIES
+ uninstall: uninstall-am
+-all-am: Makefile $(LTLIBRARIES)
++all-am: $(LTLIBRARIES)
+ all-redirect: all-am
+ install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+@@ -437,7 +437,6 @@
+ sed -e 's%load .libs/libtclsasl.so%package require sasl%' \
+ < test.tcl \
+ > @PKG_TCL@/test.tcl
+- cp doc/tclsasl.html @PKG_TCL@/
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/security/tclsasl/files/patch-configure b/security/tclsasl/files/patch-configure
new file mode 100644
index 0000000..70359dd
--- /dev/null
+++ b/security/tclsasl/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sat Jun 8 11:10:07 2002
++++ configure Wed Apr 26 13:13:38 2006
+@@ -2917,7 +2917,7 @@
+
+
+
+-PKG_TCL=${TCL_PACKAGE_PATH}/sasl-${VERSION}
++PKG_TCL=${TCL_PACKAGE_PATH}/tclsasl
+
+
+ # Check whether --with-cyrus-sasl or --without-cyrus-sasl was given.
diff --git a/security/tclsasl/pkg-descr b/security/tclsasl/pkg-descr
new file mode 100644
index 0000000..deb881d
--- /dev/null
+++ b/security/tclsasl/pkg-descr
@@ -0,0 +1,3 @@
+Tcl SASL provides a Tcl interface to the Cyrus SASLv2 library.
+
+WWW: http://beepcore-tcl.sourceforge.net/tclsasl.html
diff --git a/security/tclsasl/pkg-plist b/security/tclsasl/pkg-plist
new file mode 100644
index 0000000..3b77d40
--- /dev/null
+++ b/security/tclsasl/pkg-plist
@@ -0,0 +1,6 @@
+lib/libtclsasl.so.1
+lib/libtclsasl.so
+lib/libtclsasl.la
+lib/tclsasl/pkgIndex.tcl
+lib/tclsasl/test.tcl
+@dirrm lib/tclsasl
OpenPOWER on IntegriCloud