diff options
author | gahr <gahr@FreeBSD.org> | 2008-09-11 21:43:56 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-09-11 21:43:56 +0800 |
commit | 7534fc6365e71c10c791d778d5753184d36515c2 (patch) | |
tree | c5b4e586c5411875a4756d45a1c1ec651652e007 /science/svmlight | |
parent | f481c49e7ec79d8721c2381062fd96d7817c81e2 (diff) | |
download | freebsd-ports-gnome-7534fc6365e71c10c791d778d5753184d36515c2.tar.gz freebsd-ports-gnome-7534fc6365e71c10c791d778d5753184d36515c2.tar.zst freebsd-ports-gnome-7534fc6365e71c10c791d778d5753184d36515c2.zip |
- Update patch distribution site and fix patch procedure
Approved by: portmgr (erwin)
Diffstat (limited to 'science/svmlight')
-rw-r--r-- | science/svmlight/Makefile | 9 | ||||
-rw-r--r-- | science/svmlight/distinfo | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/science/svmlight/Makefile b/science/svmlight/Makefile index 4889daa4ffdc..3494bbf9e988 100644 --- a/science/svmlight/Makefile +++ b/science/svmlight/Makefile @@ -12,7 +12,7 @@ CATEGORIES= science MASTER_SITES= http://kodiak.cs.cornell.edu/svm_light/current/ DISTNAME= svm_light -PATCH_SITES= http://search.cpan.org/src/KWILLIAMS/Algorithm-SVMLight-0.05/ +PATCH_SITES= http://search.cpan.org/src/KWILLIAMS/Algorithm-SVMLight-0.08/ PATCHFILES= SVMLight.patch MAINTAINER= gslin@gslin.org @@ -26,6 +26,13 @@ NO_WRKSUBDIR= yes USE_GMAKE= yes USE_LDCONFIG= yes +pre-patch: + ${CP} ${DISTDIR}/${PATCHFILES} ${WRKDIR} + ${REINPLACE_CMD} -e 's|svm_light/||g' ${WRKDIR}/${PATCHFILES} + +do-patch: + cd ${WRKDIR} && ${PATCH} < ${PATCHFILES} + post-build: ${CC} ${CFLAGS} -shared -o ${WRKSRC}/libsvmlight.so.1 \ ${WRKSRC}/svm_common.o ${WRKSRC}/svm_hideo.o \ diff --git a/science/svmlight/distinfo b/science/svmlight/distinfo index 7042c67762e2..42a7f003ed5a 100644 --- a/science/svmlight/distinfo +++ b/science/svmlight/distinfo @@ -1,6 +1,6 @@ MD5 (svm_light.tar.gz) = 22dab64a89dbb01141f87641141e75cc SHA256 (svm_light.tar.gz) = 213177ac93b60055439f0b6742d4b4e728e4401f017b8facbe2e808d4143fb11 SIZE (svm_light.tar.gz) = 50121 -MD5 (SVMLight.patch) = 53426a955bfbdaa0c0a03390df6e2f35 -SHA256 (SVMLight.patch) = 926f6043d43ec174c419fe58ecf291711949daa3d4da89783a8f8cf572e09357 -SIZE (SVMLight.patch) = 10557 +MD5 (SVMLight.patch) = d9bf38d3009813f84073c25d8b814d33 +SHA256 (SVMLight.patch) = 61a23e038206f75279abdcd170e3a36c4d58a74e45b8b429f4c68f3320858fe6 +SIZE (SVMLight.patch) = 14699 |