- With license framework, there's no longer need to shove license to docs, pkgmessage and restricted
This commit is contained in:
parent
932e303f69
commit
0892efa144
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432822
@ -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>
|
||||
|
@ -6,4 +6,3 @@ include/svmlight/svm_learn.h
|
||||
lib/libsvmlight.a
|
||||
lib/libsvmlight.so
|
||||
lib/libsvmlight.so.1
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
|
||||
|
Loading…
Reference in New Issue
Block a user