aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lrmi/Makefile
blob: 4e0b762612edb7f7c1c831cf6c2a0eb87a3247fa (plain) (blame)
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
33
# 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=   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}"

.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>