Modernize LIB_DEPENDS syntax, stagify, improve wording in port description.

This commit is contained in:
Alexey Dokuchaev 2013-10-21 12:34:44 +00:00
parent 065f8bcc60
commit 31f07d74b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331128
2 changed files with 8 additions and 10 deletions

View file

@ -11,11 +11,11 @@ COMMENT= Open source client for Google Drive
LICENSE= GPLv2 LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/lib/libiberty.a:${PORTSDIR}/devel/binutils BUILD_DEPENDS= ${LOCALBASE}/lib/libiberty.a:${PORTSDIR}/devel/binutils
LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs \ LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
curl:${PORTSDIR}/ftp/curl \ libcurl.so:${PORTSDIR}/ftp/curl \
expat:${PORTSDIR}/textproc/expat2 \ libexpat.so:${PORTSDIR}/textproc/expat2 \
gcrypt:${PORTSDIR}/security/libgcrypt \ libgcrypt.so:${PORTSDIR}/security/libgcrypt \
json:${PORTSDIR}/devel/json-c libjson.so:${PORTSDIR}/devel/json-c
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= Grive GH_ACCOUNT= Grive
@ -26,15 +26,13 @@ GH_TAGNAME= v${PORTVERSION}
USES= cmake USES= cmake
CXXFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= bin/grive PLIST_FILES= bin/grive man/man1/grive.1.gz
MAN1= grive.1
# Allow to build with GCC 4.2 # Allow to build with GCC 4.2
NO_STAGE= yes
post-patch: post-patch:
@${REINPLACE_CMD} -e 's,log::,gr::&,g' ${WRKSRC}/grive/src/main.cc @${REINPLACE_CMD} -e 's,log::,gr::&,g' ${WRKSRC}/grive/src/main.cc
post-install: post-install:
@${STRIP_CMD} ${PREFIX}/bin/grive @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/grive
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,4 +1,4 @@
Grive is an independent implementation of Google Drive client. It uses Grive is an independent implementation of Google Drive client. It uses
the Google Document List API to talk to the servers in Google. the Google Document List API to talk to Google's servers.
WWW: http://www.lbreda.com/grive/ WWW: http://www.lbreda.com/grive/