aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libx86/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libx86/Makefile')
-rw-r--r--devel/libx86/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/libx86/Makefile b/devel/libx86/Makefile
new file mode 100644
index 000000000000..c776174e99e4
--- /dev/null
+++ b/devel/libx86/Makefile
@@ -0,0 +1,32 @@
+# Ports collection makefile for: libx86
+# Date created: 2008-12-05
+# Whom: Jung-uk Kim <jkim@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libx86
+PORTVERSION= 1.1
+CATEGORIES= devel
+MASTER_SITES= http://www.codon.org.uk/~mjg59/libx86/downloads/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= jkim@FreeBSD.org
+COMMENT= A hardware-independent library for executing real-mode x86 code
+
+PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so.1 lib/libx86.so
+
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+USE_SUBMAKE= yes
+ALL_TARGET= default
+MAKE_ARGS+= LIBDIR=${PREFIX}/lib
+MAKE_ENV+= BACKEND=x86emu
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${PREFIX}/include/libx86.h
+ ${INSTALL_DATA} ${WRKSRC}/libx86.a ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/libx86.so.1 ${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libx86.so.1 ${PREFIX}/lib/libx86.so
+
+.include <bsd.port.mk>