aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsmlib
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-24 15:06:22 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-24 15:06:22 +0000
commit319d643c9a13ac1aadbb8506f4894da4f3ecf44c (patch)
tree5ebc0e744c8bc01fff44fef4f0205820dc16dc05 /sysutils/lsmlib
parent2037347e45949f084d877e4842e94c73be786311 (diff)
downloadports-319d643c9a13ac1aadbb8506f4894da4f3ecf44c.tar.gz
ports-319d643c9a13ac1aadbb8506f4894da4f3ecf44c.zip
Notes
Diffstat (limited to 'sysutils/lsmlib')
-rw-r--r--sysutils/lsmlib/Makefile28
-rw-r--r--sysutils/lsmlib/distinfo1
-rw-r--r--sysutils/lsmlib/files/patch-makefile15
-rw-r--r--sysutils/lsmlib/pkg-comment1
-rw-r--r--sysutils/lsmlib/pkg-descr5
-rw-r--r--sysutils/lsmlib/pkg-plist1
6 files changed, 51 insertions, 0 deletions
diff --git a/sysutils/lsmlib/Makefile b/sysutils/lsmlib/Makefile
new file mode 100644
index 000000000000..0f0d4ca61216
--- /dev/null
+++ b/sysutils/lsmlib/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# New ports collection makefile for: lsmlib
+# Date created: Jul 24, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= lsmlib
+PORTVERSION= 0.2
+CATEGORIES= sysutils
+MASTER_SITES= http://lsmlib.sourceforge.net/releases/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
+
+XML2_CONFIG?= ${LOCALBASE}/bin/xml2-config
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+MAKEFILE= makefile
+MAKE_ENV= XML2_CONFIG="${XML2_CONFIG}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lsm ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/sysutils/lsmlib/distinfo b/sysutils/lsmlib/distinfo
new file mode 100644
index 000000000000..7ae884e54b17
--- /dev/null
+++ b/sysutils/lsmlib/distinfo
@@ -0,0 +1 @@
+MD5 (lsmlib-0.2.tgz) = 9e5b6aa227924b89ec70eb957017d6b2
diff --git a/sysutils/lsmlib/files/patch-makefile b/sysutils/lsmlib/files/patch-makefile
new file mode 100644
index 000000000000..7546cf000ed1
--- /dev/null
+++ b/sysutils/lsmlib/files/patch-makefile
@@ -0,0 +1,15 @@
+--- makefile.orig Tue Jul 24 22:43:50 2001
++++ makefile Tue Jul 24 22:46:15 2001
+@@ -4,10 +4,10 @@
+ # please see COPYING for further informations
+ #
+
+-CC= gcc
++CFLAGS+= `${XML2_CONFIG} --cflags`
+ STD= _GNU_SOURCE
+ OBJS= main.o lsm.o
+-LIBS= -lxml2
++LIBS= `${XML2_CONFIG} --libs`
+
+ .c.o:
+ $(CC) -c -Wall $(CFLAGS) -D$(STD) $<
diff --git a/sysutils/lsmlib/pkg-comment b/sysutils/lsmlib/pkg-comment
new file mode 100644
index 000000000000..5495baa1afb1
--- /dev/null
+++ b/sysutils/lsmlib/pkg-comment
@@ -0,0 +1 @@
+A lib that creates a libxml2 tree w/ info. token on a *NIX filesystem
diff --git a/sysutils/lsmlib/pkg-descr b/sysutils/lsmlib/pkg-descr
new file mode 100644
index 000000000000..cc633bdb5029
--- /dev/null
+++ b/sysutils/lsmlib/pkg-descr
@@ -0,0 +1,5 @@
+Lsmlib (ls iMproved) is a library written in ANSI C that creates a libxml2
+tree with information token on a *NIX filesystem (directory/ subdirectory/
+username/ permissions ...).
+
+WWW: http://lsmlib.sourceforge.net/
diff --git a/sysutils/lsmlib/pkg-plist b/sysutils/lsmlib/pkg-plist
new file mode 100644
index 000000000000..dd131bc9e288
--- /dev/null
+++ b/sysutils/lsmlib/pkg-plist
@@ -0,0 +1 @@
+bin/lsm