pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import slclust-02022010 as wip/slclust.



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Wed May 11 07:37:32 2016 -0500
Changeset:	3ad8fb8ff9930d1f1ccd763874ac897aa0608470

Added Files:
	slclust/DESCR
	slclust/Makefile
	slclust/PLIST
	slclust/TODO
	slclust/distinfo
	slclust/patches/patch-src_Makefile

Log Message:
Import slclust-02022010 as wip/slclust.

slclust: a utility that performs single-linkage clustering with the option of
applying a Jaccard similarity coefficient to break weakly bound clusters into
distinct clusters.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3ad8fb8ff9930d1f1ccd763874ac897aa0608470

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 slclust/DESCR                      |  3 +++
 slclust/Makefile                   | 45 +++++++++++++++++++++++++++++++++++
 slclust/PLIST                      |  2 ++
 slclust/TODO                       |  1 +
 slclust/distinfo                   |  6 +++++
 slclust/patches/patch-src_Makefile | 48 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 105 insertions(+)

diffs:
diff --git a/slclust/DESCR b/slclust/DESCR
new file mode 100644
index 0000000..3f3a108
--- /dev/null
+++ b/slclust/DESCR
@@ -0,0 +1,3 @@
+slclust: a utility that performs single-linkage clustering with the option of
+applying a Jaccard similarity coefficient to break weakly bound clusters into
+distinct clusters.
diff --git a/slclust/Makefile b/slclust/Makefile
new file mode 100644
index 0000000..986740c
--- /dev/null
+++ b/slclust/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD$
+#
+###########################################################
+#               Generated by fbsd2pkg                     #
+###########################################################
+
+DISTNAME=	slclust_${PORTVERSION}
+PKGNAME=	slclust-${PORTVERSION}
+CATEGORIES=	biology
+# FreeBSD MASTER_SITES: SF
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=slclust/}
+
+MAINTAINER=	dsiercks%uwm.edu@localhost
+HOMEPAGE=	http://sourceforge.net/projects/slclust/
+COMMENT=	Single-linkage clustering with Jaccard similarity
+# Check this
+LICENSE=	artistic
+
+# Test and change if necessary.
+# MAKE_JOBS_SAFE=	no
+
+# Just assuming C and C++: Adjust this!
+USE_LANGUAGES=	c c++
+
+WRKSRC=		${WRKDIR}/slclust
+
+PORTVERSION=	02022010
+#DATADIR=	${PREFIX}/share/slclust
+#DOCSDIR=	${PREFIX}/share/doc/slclust
+
+# Sets OPSYS, OS_VERSION, MACHINE_ARCH, etc..
+# .include "../../mk/bsd.prefs.mk"
+
+# Keep this if there are user-selectable options.
+# .include "options.mk"
+
+# Specify which directories to create before install.
+# You should only need this if using your own install target.
+INSTALLATION_DIRS=	bin
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/slclust ${DESTDIR}${PREFIX}/bin/
+
+# Linux doesn't have zlib in the base, so just in case...
+# .include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/slclust/PLIST b/slclust/PLIST
new file mode 100644
index 0000000..67b883c
--- /dev/null
+++ b/slclust/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/slclust
diff --git a/slclust/TODO b/slclust/TODO
new file mode 100644
index 0000000..b2e3b56
--- /dev/null
+++ b/slclust/TODO
@@ -0,0 +1 @@
+Clean up and test.
diff --git a/slclust/distinfo b/slclust/distinfo
new file mode 100644
index 0000000..4c906b3
--- /dev/null
+++ b/slclust/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (slclust_02022010.tar.gz) = 3c4ab8239b5e5f44613d6cc64c60fea45ce04bf7
+RMD160 (slclust_02022010.tar.gz) = 4c7dd3ff5f439f3a492f5d208c991faf4931b513
+Size (slclust_02022010.tar.gz) = 23097 bytes
+SHA1 (patch-src_Makefile) = ea0babed51ad7af85a14acc31dbc55fc74635a5b
diff --git a/slclust/patches/patch-src_Makefile b/slclust/patches/patch-src_Makefile
new file mode 100644
index 0000000..ffabc8c
--- /dev/null
+++ b/slclust/patches/patch-src_Makefile
@@ -0,0 +1,48 @@
+$NetBSD$
+
+#Patching Makefile
+--- src/Makefile.orig	2010-02-02 14:00:41 UTC
++++ src/Makefile
+@@ -20,8 +20,8 @@ LIBS           = 
+ # How they are invoked on the compile line (eg: -lspecial)
+ LLIBS          =
+ 
+-# Local additions for the CFLAG options
+-LOCAL_CFLAGS   = -Wall 
++# Local additions for the CXXFLAGS options
++LOCAL_CXXFLAGS   = -Wall 
+ #-static
+ 
+ 
+@@ -34,8 +34,8 @@ BIN           = ${PROJECT_ROOT}/bin
+ INCLUDE       = ${PROJECT_ROOT}/include
+ 
+ DEBUG         = DEBUG
+-CFLAGS        = -I${INCLUDE} ${LOCAL_CFLAGS}
+-CC            = g++ ${CFLAGS}
++CXXFLAGS      += -I${INCLUDE} ${LOCAL_CXXFLAGS}
++CXX           ?= g++
+ 
+ MAKEFILE      = Makefile
+ 
+@@ -43,10 +43,10 @@ MAKEFILE      = Makefile
+ # Suffix rules
+ 
+ .cc.o:
+-	${CC} -c $<
++	${CXX} -c ${CXXFLAGS} $<
+ 
+ .cpp.o:
+-	${CC} -c $<
++	${CXX} -c ${CXXFLAGS} $<
+ 
+ # Target dependencies
+ 
+@@ -65,6 +65,6 @@ clean :
+ ${OBJ} : ${MAKEFILE}
+ 
+ ${EXECUTABLE} : ${OBJS}
+-	${CC} ${OBJS} ${LIBS} -o ${EXECUTABLE}	
++	${CXX} ${OBJS} ${LIBS} -o ${EXECUTABLE}	
+ 	chmod 755 ${EXECUTABLE}
+ 


Home | Main Index | Thread Index | Old Index