summaryrefslogtreecommitdiffstats
path: root/devel/lrmi/Makefile
blob: cd594c7682e35c469cb6156ed4b838068ae5f386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Anish Mistry <amistry@am-productions.biz>
# $FreeBSD$

PORTNAME=	lrmi
PORTVERSION=	0.10
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	LRMI is a library for calling real mode BIOS routines

ONLY_FOR_ARCHS=	i386
USE_LDCONFIG=	yes
MAKEFILE=	Makefile.bsd

SHLIB_VERSION=	0
PLIST_SUB+=	"SHLIB_VERSION=${SHLIB_VERSION}"

pre-install:
	@${STRIP_CMD} ${WRKSRC}/liblrmi.so

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/liblrmi.so \
		${STAGEDIR}${PREFIX}/lib/liblrmi.so.${SHLIB_VERSION}
	${LN} -fs ${PREFIX}/lib/liblrmi.so.${SHLIB_VERSION} \
		${STAGEDIR}${PREFIX}/lib/liblrmi.so
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/lrmi
	${INSTALL_DATA} ${WRKSRC}/lrmi.h ${STAGEDIR}${PREFIX}/include/lrmi
	${INSTALL_DATA} ${WRKSRC}/vbe.h ${STAGEDIR}${PREFIX}/include/lrmi

.include <bsd.port.mk>
OpenPOWER on IntegriCloud