1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Fix library installation, unbreak static library

Approved by:	portmgr blanket
MFH:		2015Q2
This commit is contained in:
Dmitry Marakasov 2015-05-19 14:18:25 +00:00
parent 5c39d4f4d0
commit f8c044ffcc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386778

View File

@ -3,6 +3,7 @@
PORTNAME= ann
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= math science
MASTER_SITES= http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/
DISTNAME= ann_1.1.2
@ -14,8 +15,8 @@ USE_LDCONFIG= yes
USES= gmake
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib/libann.so.0 ${STAGEDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/lib/libann.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/lib/libann.so.0 ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/lib/libann.a ${STAGEDIR}${PREFIX}/lib
${LN} -fs libann.so.0 ${STAGEDIR}${PREFIX}/lib/libann.so
${MKDIR} ${STAGEDIR}${PREFIX}/include/ANN
${INSTALL_DATA} ${WRKSRC}/include/ANN/* ${STAGEDIR}${PREFIX}/include/ANN