mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Update to 2.83
- Use SUB_FILES - Use ECHO_CMD where I mean echo command
This commit is contained in:
parent
2d49f5960a
commit
857d0ec9bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177501
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libsvm
|
||||
PORTVERSION= 2.82
|
||||
PORTVERSION= 2.83
|
||||
PORTREVISION= 0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= science math
|
||||
@ -35,23 +35,22 @@ PORTDOCS= ${TXT_DOCS}
|
||||
.endif
|
||||
TOOLS= tools/grid.py tools/easy.py tools/subset.py
|
||||
|
||||
MSG_FILE= ${PKGDIR}/pkg-message
|
||||
PKGMESSAGE= ${WRKSRC}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= DATADIR=${DATADIR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-everything::
|
||||
.if defined(WITH_PYTHON)
|
||||
@${ECHO_MSG} "Build with Python interface."
|
||||
@${ECHO_CMD} "Build with Python interface."
|
||||
.else
|
||||
@${ECHO_MSG} "You can enable Python interface by defining WITH_PYTHON."
|
||||
@${ECHO_CMD} "You can enable Python interface by defining WITH_PYTHON."
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if defined(WITH_PYTHON)
|
||||
@${REINPLACE_CMD} -e "s,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR}," ${WRKSRC}/python/Makefile
|
||||
.endif
|
||||
@${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
||||
|
||||
post-build:
|
||||
.if defined(WITH_PYTHON)
|
||||
@ -81,8 +80,8 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
|
||||
done
|
||||
.endif
|
||||
@${ECHO} ""
|
||||
@${ECHO_CMD} ""
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO} ""
|
||||
@${ECHO_CMD} ""
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (libsvm-2.82.zip) = 35d3fc45aeef507f133b4e8d82b3fabd
|
||||
SHA256 (libsvm-2.82.zip) = 43656e7c55c8e58c22228a1a2f7cf5a62f780e657619a52c15a47ec58645ffda
|
||||
SIZE (libsvm-2.82.zip) = 419821
|
||||
MD5 (libsvm-2.83.zip) = fcd7a994906706f669e36ecf5e7c1ef1
|
||||
SHA256 (libsvm-2.83.zip) = 4ff5690224a2f1f511c91f222585af5873bef41645bb5b287c0a340e6d88cb73
|
||||
SIZE (libsvm-2.83.zip) = 434438
|
||||
|
Loading…
Reference in New Issue
Block a user