aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-10 15:10:59 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-10 15:10:59 +0000
commit8396317e886208bd751c1babaac3b87015e17b4f (patch)
tree337a203cd3930df1d2afdf61bf6a0fd7478aff96 /science
parent7ea771bccced6364a0d542e1546381cbf7c1ecbc (diff)
downloadports-8396317e886208bd751c1babaac3b87015e17b4f.tar.gz
ports-8396317e886208bd751c1babaac3b87015e17b4f.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/svmlight/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/science/svmlight/Makefile b/science/svmlight/Makefile
index 435efed5f48b..412d4369f549 100644
--- a/science/svmlight/Makefile
+++ b/science/svmlight/Makefile
@@ -21,22 +21,19 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}"
NO_WRKSUBDIR= yes
USES= gmake
USE_LDCONFIG= yes
+PKGMESSAGE= ${WRKSRC}/LICENSE.txt
-NO_STAGE= yes
do-install:
- ${MKDIR} ${PREFIX}/include/svmlight
- ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/svmlight
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/svmlight
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/svmlight
.for file in svm_classify svm_learn
- ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
- ${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${PREFIX}/lib
- ${MV} ${PREFIX}/lib/libsvmlight.so ${PREFIX}/lib/libsvmlight.so.1
- ${LN} -s ${PREFIX}/lib/libsvmlight.so.1 ${PREFIX}/lib/libsvmlight.so
+ ${INSTALL_DATA} ${WRKSRC}/libsvmlight.* ${STAGEDIR}${PREFIX}/lib
+ ${MV} ${STAGEDIR}${PREFIX}/lib/libsvmlight.so ${STAGEDIR}${PREFIX}/lib/libsvmlight.so.1
+ ${LN} -s ${PREFIX}/lib/libsvmlight.so.1 ${STAGEDIR}${PREFIX}/lib/libsvmlight.so
# It's license request, do not remove
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
-
-post-install:
- @${CAT} ${WRKSRC}/LICENSE.txt
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>