aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lrmi/Makefile
blob: b90b0da38bebf6d2fb84ca4ba6dfffc934352c11 (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
34
# 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=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lrmi

MAINTAINER= amistry@am-productions.biz
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>