freebsd-ports/devel/lrmi/Makefile
Pawel Pekala 3392b87635 - Add staging support
- Strip library
2014-03-31 17:52:16 +00:00

32 lines
848 B
Makefile

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