diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-19 22:18:25 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-19 22:18:25 +0800 |
commit | 9be800169c4d78a9267d8d581f50f65121b0adc6 (patch) | |
tree | 8aad126d27f2bca8b2e8ea939ed7254396fd7740 | |
parent | 02c0d5bcb2d9ef8cef27046bc01e02661676fd32 (diff) | |
download | freebsd-ports-gnome-9be800169c4d78a9267d8d581f50f65121b0adc6.tar.gz freebsd-ports-gnome-9be800169c4d78a9267d8d581f50f65121b0adc6.tar.zst freebsd-ports-gnome-9be800169c4d78a9267d8d581f50f65121b0adc6.zip |
- Fix library installation, unbreak static library
Approved by: portmgr blanket
MFH: 2015Q2
-rw-r--r-- | math/ann/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/ann/Makefile b/math/ann/Makefile index fa58d4f36b25..1bee202715c8 100644 --- a/math/ann/Makefile +++ b/math/ann/Makefile @@ -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 |