aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-30 17:01:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-30 17:01:22 +0800
commitf218f871a9c9bc4f662524736d99274f9a1d1b3b (patch)
tree51f8b55d1e37143b8a7bbcc1abbd4c86545a7323 /science
parent2c0818c9d093554b707f3a57ab7adda1903d79d8 (diff)
downloadfreebsd-ports-gnome-f218f871a9c9bc4f662524736d99274f9a1d1b3b.tar.gz
freebsd-ports-gnome-f218f871a9c9bc4f662524736d99274f9a1d1b3b.tar.zst
freebsd-ports-gnome-f218f871a9c9bc4f662524736d99274f9a1d1b3b.zip
- With license framework, there's no longer need to shove license to docs, pkgmessage and restricted
Diffstat (limited to 'science')
-rw-r--r--science/svmlight/Makefile8
-rw-r--r--science/svmlight/pkg-plist1
2 files changed, 1 insertions, 8 deletions
diff --git a/science/svmlight/Makefile b/science/svmlight/Makefile
index 29176dc0ef95..a16a98f0d323 100644
--- a/science/svmlight/Makefile
+++ b/science/svmlight/Makefile
@@ -20,19 +20,16 @@ LICENSE_PERMS= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= Implementation of Support Vector Machines (SVMs) in C
-RESTRICTED= only for education and research
-
CFLAGS+= -fPIC
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LFLAGS="${CFLAGS}"
NO_WRKSUBDIR= yes
USES= gmake
USE_LDCONFIG= yes
-PKGMESSAGE= ${WRKSRC}/LICENSE.txt
OPTIONS_DEFINE= DOCS
do-install:
- ${MKDIR} ${STAGEDIR}${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} ${STAGEDIR}${PREFIX}/bin
@@ -40,8 +37,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/libsvmlight.a ${STAGEDIR}${PREFIX}/lib/
${INSTALL_LIB} ${WRKSRC}/libsvmlight.so ${STAGEDIR}${PREFIX}/lib/libsvmlight.so.1
${LN} -s libsvmlight.so.1 ${STAGEDIR}${PREFIX}/lib/libsvmlight.so
-# It's license request, do not remove
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/science/svmlight/pkg-plist b/science/svmlight/pkg-plist
index c6e035a4e0f9..01c5ac4c0254 100644
--- a/science/svmlight/pkg-plist
+++ b/science/svmlight/pkg-plist
@@ -6,4 +6,3 @@ include/svmlight/svm_learn.h
lib/libsvmlight.a
lib/libsvmlight.so
lib/libsvmlight.so.1
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt