2013-09-20 20:55:04 +00:00
|
|
|
# Created by: Tz-Huan Huang <tzhuan@csie.org>
|
2010-05-06 08:14:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ann
|
|
|
|
PORTVERSION= 1.1.2
|
|
|
|
CATEGORIES= math science
|
|
|
|
MASTER_SITES= http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/
|
|
|
|
DISTNAME= ann_1.1.2
|
|
|
|
|
|
|
|
MAINTAINER= tzhuan@csie.org
|
|
|
|
COMMENT= A Library for Approximate Nearest Neighbor Searching
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/ann_1.1.2
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2013-09-20 20:55:04 +00:00
|
|
|
NO_STAGE= yes
|
2010-05-06 08:14:51 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/libann.so.0 ${PREFIX}/lib
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/libann.a ${PREFIX}/lib
|
|
|
|
${LN} -fs libann.so.0 ${PREFIX}/lib/libann.so
|
|
|
|
${MKDIR} ${PREFIX}/include/ANN
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/ANN/* ${PREFIX}/include/ANN
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ANNmanual.pdf ${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|