aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2006-02-01 16:59:05 +0000
committerSimon Barner <barner@FreeBSD.org>2006-02-01 16:59:05 +0000
commit69767f61f8f3748d23c0d5f0ecfa108723e542bf (patch)
tree09becbb21ee1982c2a0c97e5f86a0c5e4c9369a0
parent47be87de4fa1f2069c7c015bdcc312a4f904a4d1 (diff)
downloadports-69767f61f8f3748d23c0d5f0ecfa108723e542bf.tar.gz
ports-69767f61f8f3748d23c0d5f0ecfa108723e542bf.zip
Linux/BSD Real Mode interface library.
WWW: http://lrmi.sourceforge.net/ PR: ports/92648 Submitted by: Anish Mistry <amistry@am-productions.biz>
Notes
Notes: svn path=/head/; revision=155011
-rw-r--r--devel/Makefile1
-rw-r--r--devel/lrmi/Makefile34
-rw-r--r--devel/lrmi/distinfo3
-rw-r--r--devel/lrmi/files/patch-Makefile.bsd34
-rw-r--r--devel/lrmi/pkg-descr3
-rw-r--r--devel/lrmi/pkg-plist5
6 files changed, 80 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2f817d07f0c0..5a45c1b70c96 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -557,6 +557,7 @@
SUBDIR += log4j
SUBDIR += log4sh
SUBDIR += looks
+ SUBDIR += lrmi
SUBDIR += lwp
SUBDIR += m17n-db
SUBDIR += m17n-docs
diff --git a/devel/lrmi/Makefile b/devel/lrmi/Makefile
new file mode 100644
index 000000000000..00270a7f5deb
--- /dev/null
+++ b/devel/lrmi/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: lrmi
+# Date created: 2006-01-31
+# Whom: Anish Mistry <amistry@am-productions.biz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lrmi
+PORTVERSION= 0.10
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= lrmi
+
+MAINTAINER= amistry@am-productions.biz
+COMMENT= LRMI is a library for calling real mode BIOS routines
+
+ONLY_FOR_ARCHS= i386
+INSTALLS_SHLIB= yes
+MAKEFILE= Makefile.bsd
+
+SHLIB_VERSION= 0
+PLIST_SUB+= "SHLIB_VERSION=${SHLIB_VERSION}"
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/liblrmi.so ${PREFIX}/lib/liblrmi.so.${SHLIB_VERSION}
+ ${LN} -fs ${PREFIX}/lib/liblrmi.so.${SHLIB_VERSION} ${PREFIX}/lib/liblrmi.so
+ @${MKDIR} ${PREFIX}/include/lrmi
+ ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${PREFIX}/include/lrmi
+ ${INSTALL_DATA} ${WRKSRC}/vbe.h ${PREFIX}/include/lrmi
+
+.include <bsd.port.post.mk>
diff --git a/devel/lrmi/distinfo b/devel/lrmi/distinfo
new file mode 100644
index 000000000000..9d0e236ef756
--- /dev/null
+++ b/devel/lrmi/distinfo
@@ -0,0 +1,3 @@
+MD5 (lrmi-0.10.tar.gz) = fc1d9495e8f4563fca471bb65f34a5da
+SHA256 (lrmi-0.10.tar.gz) = b0be55c14407f586dc10836e8f348b3a002c461a9b47a302071eac0ef85770da
+SIZE (lrmi-0.10.tar.gz) = 10271
diff --git a/devel/lrmi/files/patch-Makefile.bsd b/devel/lrmi/files/patch-Makefile.bsd
new file mode 100644
index 000000000000..fdbde97c89c6
--- /dev/null
+++ b/devel/lrmi/files/patch-Makefile.bsd
@@ -0,0 +1,34 @@
+--- Makefile.bsd.orig Tue May 13 23:18:12 2003
++++ Makefile.bsd Tue Jan 31 14:03:00 2006
+@@ -1,4 +1,4 @@
+-CFLAGS = -g -Wall
++CFLAGS?=-g -Wall
+ RANLIB = ranlib
+ OS != uname -s
+
+@@ -13,21 +13,21 @@
+ all: $(all)
+
+ .c.o:
+- $(CC) -c $(CPPFLAGS) $(CFLAGS) -o ${.TARGET} ${.IMPSRC}
++ $(CC) -c $(CFLAGS) -o ${.TARGET} ${.IMPSRC}
+
+ .SUFFIXES: .lo
+ .c.lo:
+- $(CC) -c $(CPPFLAGS) $(CFLAGS) -fPIC -o ${.TARGET} ${.IMPSRC}
++ $(CC) -c $(CFLAGS) -fPIC -o ${.TARGET} ${.IMPSRC}
+
+ liblrmi.a: $(objects)
+ $(AR) -r ${.TARGET} ${.ALLSRC}
+ $(RANLIB) ${.TARGET}
+
+ liblrmi.so: $(pic_objects)
+- $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -shared -o ${.TARGET} ${.ALLSRC} ${libs}
++ $(CC) $(CFLAGS) -fPIC -shared -o ${.TARGET} ${.ALLSRC} ${libs}
+
+ vbetest: vbetest.o liblrmi.a
+- $(CC) $(CPPFLAGS) $(CFLAGS) -o ${.TARGET} ${.ALLSRC} ${libs}
++ $(CC) $(CFLAGS) -o ${.TARGET} ${.ALLSRC} ${libs}
+
+ .PHONY: clean
+ clean:
diff --git a/devel/lrmi/pkg-descr b/devel/lrmi/pkg-descr
new file mode 100644
index 000000000000..6525e484b57a
--- /dev/null
+++ b/devel/lrmi/pkg-descr
@@ -0,0 +1,3 @@
+Linux/BSD Real Mode interface library.
+
+WWW: http://lrmi.sourceforge.net/
diff --git a/devel/lrmi/pkg-plist b/devel/lrmi/pkg-plist
new file mode 100644
index 000000000000..2381e0c062f7
--- /dev/null
+++ b/devel/lrmi/pkg-plist
@@ -0,0 +1,5 @@
+lib/liblrmi.so.%%SHLIB_VERSION%%
+lib/liblrmi.so
+include/lrmi/lrmi.h
+include/lrmi/vbe.h
+@dirrm include/lrmi