diff options
author | jkim <jkim@FreeBSD.org> | 2013-09-26 07:19:32 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-09-26 07:19:32 +0800 |
commit | b2a2318e45ac0e7a5d29fb25ab867c2283e61f75 (patch) | |
tree | de101892b30c0063a584f211df62edee900d8df4 /devel/libx86 | |
parent | 73f026d61896dc023aeb613091602d307fbe53fa (diff) | |
download | freebsd-ports-gnome-b2a2318e45ac0e7a5d29fb25ab867c2283e61f75.tar.gz freebsd-ports-gnome-b2a2318e45ac0e7a5d29fb25ab867c2283e61f75.tar.zst freebsd-ports-gnome-b2a2318e45ac0e7a5d29fb25ab867c2283e61f75.zip |
- Trim Makefile header.
- Remove article from comment.
- Add LICENSE.
- Convert USE_GMAKE=yes to USES=gmake.
- Remove bogus USE_SUBMAKE.
- Simplify MAKE_ARGS and remove MAKE_ENV.
- Add support for STAGEDIR.
Diffstat (limited to 'devel/libx86')
-rw-r--r-- | devel/libx86/Makefile | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/devel/libx86/Makefile b/devel/libx86/Makefile index 0b2fbe8d224d..9e608df5692d 100644 --- a/devel/libx86/Makefile +++ b/devel/libx86/Makefile @@ -1,34 +1,30 @@ -# Created by: Jung-uk Kim <jkim@FreeBSD.org> # $FreeBSD$ PORTNAME= libx86 PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.codon.org.uk/~mjg59/libx86/downloads/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= jkim MAINTAINER= jkim@FreeBSD.org -COMMENT= A hardware-independent library for executing real-mode x86 code +COMMENT= Hardware-independent library for executing real-mode x86 code -PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so.1 lib/libx86.so +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYRIGHT -USE_GMAKE= yes -USE_LDCONFIG= yes -USE_SUBMAKE= yes ALL_TARGET= default -MAKE_ARGS+= LIBDIR=${PREFIX}/lib -MAKE_ENV+= BACKEND=x86emu +MAKE_ARGS= BACKEND=x86emu +ONLY_FOR_ARCHS= amd64 i386 +PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so lib/libx86.so.1 +USE_LDCONFIG= yes +USES= gmake -NO_STAGE= yes 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.pre.mk> - -ONLY_FOR_ARCHS= amd64 i386 + ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${STAGEDIR}${PREFIX}/include/libx86.h + ${INSTALL_DATA} ${WRKSRC}/libx86.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/libx86.so.1 ${STAGEDIR}${PREFIX}/lib + ${LN} -sf libx86.so.1 ${STAGEDIR}${PREFIX}/lib/libx86.so -.include <bsd.port.post.mk> +.include <bsd.port.mk> |