1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/devel/libx86/Makefile
Jung-uk Kim 690f2f5550 - 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.
2013-09-25 23:19:32 +00:00

31 lines
816 B
Makefile

# $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= Hardware-independent library for executing real-mode x86 code
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
ALL_TARGET= default
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
do-install:
${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.mk>