pkgsrc/graphics/OpenRM/Makefile
garbled b24c35a9e9 Update OpenRM to 1.5.2
#  New indexed primitive types: quads, quad-strips, tris, tri-strips,
along with a new RMdemo program that exercises these new primitives.
# New primitive type: quad-strips.
# Expanded set of supported platforms: 64-bit Linux, MacOSX (it really
works this time)
# Dramatically improved "tfly" demo program produces stunning visuals
(see images below).
# Overhauled configure script for enhanced multi-architecture support in
the RMdemo distribution.
# New Gordo demonstration program "lightModes" that lets you explore
OpenRM's light source parameters and lighting environment attributes.
2004-04-19 05:54:45 +00:00

60 lines
2.4 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2004/04/19 05:54:45 garbled Exp $
#
DISTNAME= openrm-devel-1.5.2
PKGNAME= OpenRM-1.5.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openrm/}
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.openrm.org/
COMMENT= The OpenRM Scene Graph API
USE_X11= yes
WRKSRC= ${WRKDIR}/rm152
ALL_TARGET= freebsd docs
USE_BUILDLINK3= yes
MAKE_ENV+= AR=${AR} RM=${RM} CP=${CP} LN=${LN} ECHO_CMD=${ECHO} \
STRIP_CMD=${ECHO}
post-patch:
${MV} ${WRKSRC}/doc/sortlist.pl ${WRKSRC}/doc/sortlist.pl.orig && \
${SED} -e 's|%%PERLBIN%%|${PERL5}|g' \
${WRKSRC}/doc/sortlist.pl.orig > ${WRKSRC}/doc/sortlist.pl
${CHMOD} 755 ${WRKSRC}/doc/sortlist.pl
${MV} ${WRKSRC}/doc/source2html.pl ${WRKSRC}/doc/source2html.pl.orig &&\
${SED} -e 's|%%PERLBIN%%|${PERL5}|g' \
${WRKSRC}/doc/source2html.pl.orig > ${WRKSRC}/doc/source2html.pl
${CHMOD} 755 ${WRKSRC}/doc/source2html.pl
do-install:
# install libraries
${INSTALL_PROGRAM} ${WRKSRC}/lib/librm.so.1 ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/lib/librmaux.so.1 ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/lib/librmi.so.1 ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/lib/librmv.so.1 ${PREFIX}/lib
${LN} -fs ${PREFIX}/lib/librm.so.1 ${PREFIX}/lib/librm.so
${LN} -fs ${PREFIX}/lib/librmaux.so.1 ${PREFIX}/lib/librmaux.so
${LN} -fs ${PREFIX}/lib/librmi.so.1 ${PREFIX}/lib/librmi.so
${LN} -fs ${PREFIX}/lib/librmv.so.1 ${PREFIX}/lib/librmv.so
${INSTALL_DATA} ${WRKSRC}/lib/librm.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/lib/librmaux.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/lib/librmi.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/lib/librmv.a ${PREFIX}/lib
# install includes
${INSTALL_DATA_DIR} ${PREFIX}/include/rm
${INSTALL_DATA} ${WRKSRC}/include/rm/*.h ${PREFIX}/include/rm
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/OpenRM
${INSTALL_DATA} ${WRKSRC}/FUTUREPLANS ${PREFIX}/share/doc/OpenRM
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/OpenRM
${INSTALL_DATA} ${WRKSRC}/RELEASENOTES ${PREFIX}/share/doc/OpenRM
${INSTALL_DATA} ${WRKSRC}/doc/HTML/*.html ${PREFIX}/share/doc/OpenRM
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/OpenRM/images
${INSTALL_DATA} ${WRKSRC}/doc/HTML/images/* ${PREFIX}/share/doc/OpenRM/images
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"