1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/math/rapid/Makefile
Thomas Abthorpe 5efc861b0c - Update MASTER_SITES, obtained permission to mirror source
PR:		ports/120670
Submitted by:	bacon smithers.neuro.mcw.edu (maintainer)
2008-02-15 20:19:45 +00:00

45 lines
1.2 KiB
Makefile

############################################################################
# New ports collection Makefile for: RAPID
# Date created: 18 July 2006
# Whom: Jason W. Bacon <jwbacon@tds.net>
#
# $FreeBSD$
#
#
############################################################################
PORTNAME= rapid
PORTVERSION= 2.01
CATEGORIES= math science graphics
MASTER_SITES= http://www.cs.sunysb.edu/~algorith/implement/RAPID/distrib/ \
http://www.neuro.mcw.edu/Ports/distfiles/
DISTNAME= RAPID_v2_01
MAINTAINER= bacon@smithers.neuro.mcw.edu
COMMENT= Robust and Accurate Polygon Interference Detection
RESTRICTED= For any commercial purpose, you must request a license from http://www.cs.unc.edu/~geom/OBB/OBBT.html
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
ALL_TARGET=
MAN1= rapid.1
.include <bsd.port.pre.mk>
post-extract:
${REINPLACE_CMD} -E "s/friend RAPID_Collide/friend int RAPID_Collide/" ${WRKSRC}/RAPID_private.H
do-install:
${MKDIR} ${PREFIX}/include/RAPID
${INSTALL_DATA} ${WRKSRC}/*.H ${PREFIX}/include/RAPID
${INSTALL_DATA} ${WRKSRC}/libRAPID.a ${PREFIX}/lib
${INSTALL_MAN} ${FILESDIR}/rapid.1 ${MANPREFIX}/man/man1
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>