FreeBSD Bugzilla – Attachment 21690 Details for
Bug 37919
port update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.63 KB, created by
Chia-Hsing Yu
on 2002-05-10 08:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Chia-Hsing Yu
Created:
2002-05-10 08:20:01 UTC
Size:
2.63 KB
patch
obsolete
>diff -ruN libsvm.orig/Makefile libsvm/Makefile >--- libsvm.orig/Makefile Fri May 10 15:07:55 2002 >+++ libsvm/Makefile Fri May 10 14:58:35 2002 >@@ -1,18 +1,43 @@ > # New ports collection Makefile for: libsvm > # Date created: Oct 28 2001 >-# Whom: Chia-Hsing Yu <davidyu@oio.cx> >+# Whom: Chia-Hsing Yu <me@davidyu.org> > # > # $FreeBSD: ports/science/libsvm/Makefile,v 1.1 2001/12/19 03:44:59 petef Exp $ > # > > PORTNAME= libsvm > PORTVERSION= 2.33 >+PORTREVISION= 1 > CATEGORIES= science math > MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ > >-MAINTAINER= davidyu@oio.cx >+MAINTAINER= me@davidyu.org > >-post-install: >+.if defined(WITH_PYTHON) >+USE_PYTHON= yes >+PLIST= ${WRKDIR}/pkg-plist >+ALL_TARGET= all py >+MAKE_ARGS+= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} >+.endif >+ >+.if defined(WITH_PYTHON) >+pre-install: >+ @cat ${PKGDIR}/pkg-plist.python ${PKGDIR}/pkg-plist > ${PLIST} >+.endif >+ >+pre-everything:: >+.if !defined(WITH_PYTHON) >+ @${ECHO_MSG} "You can install python interface by defining WITH_PYTHON=yes" >+.endif >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-train ${PREFIX}/bin/ >+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${PREFIX}/bin/ >+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${PREFIX}/bin/ >+.if defined(WITH_PYTHON) >+ ${INSTALL_SCRIPT} ${WRKSRC}/python/svm.py ${PYTHON_SITELIBDIR}/ >+ ${INSTALL_PROGRAM} ${WRKSRC}/python/svmc.so ${PYTHON_SITELIBDIR}/ >+.endif > .if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libsvm >diff -ruN libsvm.orig/files/patch-Makefile libsvm/files/patch-Makefile >--- libsvm.orig/files/patch-Makefile Fri May 10 15:07:55 2002 >+++ libsvm/files/patch-Makefile Fri May 10 14:40:14 2002 >@@ -1,7 +1,5 @@ >-$FreeBSD: ports/science/libsvm/files/patch-Makefile,v 1.1 2001/12/19 03:44:59 petef Exp $ >- >---- Makefile.orig Sat Sep 22 11:04:16 2001 >-+++ Makefile Tue Dec 18 22:39:11 2001 >+--- Makefile.orig Sat Sep 22 23:04:16 2001 >++++ Makefile Fri May 10 14:40:09 2002 > @@ -1,5 +1,5 @@ > -CXXC = g++ > -CFLAGS = -Wall -O3 -g >@@ -10,11 +8,9 @@ > > all: svm-train svm-predict svm-scale > >-@@ -13,3 +13,7 @@ >+@@ -13,3 +13,5 @@ > $(CXXC) $(CFLAGS) -c svm.cpp > clean: > rm -f *~ svm.o svm-train svm-predict svm-scale >-+ >-+install: >-+ install -d ${PREFIX}/bin/ >-+ install -s -c -m 755 svm-train svm-predict svm-scale ${PREFIX}/bin/ >++py: >++ cd python; $(MAKE) PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} >diff -ruN libsvm.orig/pkg-plist.python libsvm/pkg-plist.python >--- libsvm.orig/pkg-plist.python Thu Jan 1 08:00:00 1970 >+++ libsvm/pkg-plist.python Fri May 10 14:50:07 2002 >@@ -0,0 +1,2 @@ >+lib/%%PYTHON_VERSION%%/site-packages/svm.py >+lib/%%PYTHON_VERSION%%/site-packages/svmc.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37919
: 21690