summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/freelibiberty/Makefile29
-rw-r--r--devel/freelibiberty/distinfo1
-rw-r--r--devel/freelibiberty/pkg-comment1
-rw-r--r--devel/freelibiberty/pkg-descr5
-rw-r--r--devel/freelibiberty/pkg-plist8
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/freelibiberty/Makefile b/devel/freelibiberty/Makefile
new file mode 100644
index 0000000..731fd10
--- /dev/null
+++ b/devel/freelibiberty/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: free-libiberty
+# Version required: 0.1
+# Date created: 30 October 1999
+# Whom: James Howard <howardjp@wam.umd.edu>
+#
+# $FreeBSD$
+#
+
+DISTNAME= libiberty-0.1
+PKGNAME= freelibiberty-0.1
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.wam.umd.edu/pub/howardjp/software/libiberty/ \
+ http://www.wam.umd.edu/~howardjp/software/libiberty/ \
+ ftp://dragon.ham.muohio.edu/pub/howardjp/software/libiberty/
+
+MAINTAINER= howardjp@wam.umd.edu
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libiberty.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libiberty_p.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libiberty.so.1 ${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libiberty.so.1 ${PREFIX}/lib/libiberty.so
+ ${INSTALL_DATA} ${WRKSRC}/libiberty.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/getopt.h ${PREFIX}/include
+
+post-install:
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/devel/freelibiberty/distinfo b/devel/freelibiberty/distinfo
new file mode 100644
index 0000000..21590fa
--- /dev/null
+++ b/devel/freelibiberty/distinfo
@@ -0,0 +1 @@
+MD5 (libiberty-0.1.tar.gz) = 757eb8df7c271ecf764ca45165645fef
diff --git a/devel/freelibiberty/pkg-comment b/devel/freelibiberty/pkg-comment
new file mode 100644
index 0000000..a2f64a6
--- /dev/null
+++ b/devel/freelibiberty/pkg-comment
@@ -0,0 +1 @@
+A freely-redistributable libiberty clone
diff --git a/devel/freelibiberty/pkg-descr b/devel/freelibiberty/pkg-descr
new file mode 100644
index 0000000..38b52ce
--- /dev/null
+++ b/devel/freelibiberty/pkg-descr
@@ -0,0 +1,5 @@
+This is my freely-redistributable libiberty clone. I wrote this because I
+needed getopt_long(). Anything else is in here because I got bored and
+added it. None of it is guarenteed to work.
+
+James Howard <howardjp@wam.umd.edu>
diff --git a/devel/freelibiberty/pkg-plist b/devel/freelibiberty/pkg-plist
new file mode 100644
index 0000000..b424e87
--- /dev/null
+++ b/devel/freelibiberty/pkg-plist
@@ -0,0 +1,8 @@
+lib/libiberty.a
+lib/libiberty_p.a
+lib/libiberty.so.1
+lib/libiberty.so
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+include/libiberty.h
+include/getopt.h
OpenPOWER on IntegriCloud