www/rssroll: update to 0.6.2

PR:		232806
Submitted by:	Nikola Kolev <koue@chaosophia.net> (maintainer)
This commit is contained in:
Steve Wills 2018-10-31 01:56:10 +00:00
parent 6f7d0f2b3a
commit 73b5f9de96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483542
2 changed files with 24 additions and 18 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rssroll
PORTVERSION= 0.6.1
PORTVERSION= 0.6.2
CATEGORIES= www
MAINTAINER= koue@chaosophia.net
@ -9,13 +9,12 @@ COMMENT= RSS collector in C
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libxml2.so:textproc/libxml2 \
libsqlite3.so:databases/sqlite3
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cmake
USES= sqlite:3
USE_GNOME= libxml2
CEZ_VERSION= 1.01
CEZ_VERSION= 1.05
USE_GITHUB= yes
GH_ACCOUNT= koue
@ -23,14 +22,21 @@ GH_PROJECT= rssroll:rssroll \
libcez:libcez
GH_TAGNAME= ${CEZ_VERSION}:libcez
CFLAGS+= -I${WRKSRC_libcez}/src/config \
-I${WRKSRC_libcez}/src/fossil \
-I${WRKSRC_libcez}/src/misc
LDFLAGS+= -L${WRKSRC_libcez}/src/config \
-L${WRKSRC_libcez}/src/fossil \
-L${WRKSRC_libcez}/src/misc
pre-configure:
@(cd ${WRKSRC_libcez} && ${SETENV} ${MAKE_ENV} ${MAKE})
${REINPLACE_CMD} -e 's|cez_config.h|cez_config.h PATHS ${WRKDIR}/libcez-${CEZ_VERSION}/src/config NO_DEFAULT_PATH|g' \
-e 's|cez_fossil.h|cez_fossil.h PATHS ${WRKDIR}/libcez-${CEZ_VERSION}/src/fossil NO_DEFAULT_PATH|g' \
-e 's|cez_misc.h|cez_misc.h PATHS ${WRKDIR}/libcez-${CEZ_VERSION}/src/misc NO_DEFAULT_PATH|g' \
-e 's|cezconfig|cezconfig PATHS ${WRKDIR}/libcez-${CEZ_VERSION}/src/config NO_DEFAULT_PATH|g' \
-e 's|cezfossil|cezfossil PATHS ${WRKDIR}/libcez-${CEZ_VERSION}/src/fossil NO_DEFAULT_PATH|g' \
-e 's|cezmisc|cezmisc PATHS ${WRKDIR}/libcez-${CEZ_VERSION}/src/misc NO_DEFAULT_PATH|g' \
${WRKSRC}/cmake/FindLibcez.cmake
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/rssroll ${STAGEDIR}${PREFIX}/bin
(cd ${WRKSRC} && ${COPYTREE_SHARE} "html css" ${STAGEDIR}${PREFIX}/www/rssroll/)
${INSTALL_PROGRAM} ${WRKSRC}/src/index.cgi ${STAGEDIR}${PREFIX}/www/rssroll/index.cgi
${INSTALL_DATA} ${WRKSRC}/rssrollrc ${STAGEDIR}${PREFIX}/etc/rssrollrc.sample
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1534499413
SHA256 (koue-rssroll-0.6.1_GH0.tar.gz) = 52ff996bcdd45e7cedcb596d27e11aaf6e1a6ae966a9b5f426e2dd1b33f79027
SIZE (koue-rssroll-0.6.1_GH0.tar.gz) = 25856
SHA256 (koue-libcez-1.01_GH0.tar.gz) = 01fc2adf64e4c4ce3d83dcee59e6027f40bca38b21cfd77d26b9cae8914defb5
SIZE (koue-libcez-1.01_GH0.tar.gz) = 139817
TIMESTAMP = 1540833188
SHA256 (koue-rssroll-0.6.2_GH0.tar.gz) = dfa862bfc3e87c8ff2945bff0cf4183fecc37b998ea6a720cce85800889fa649
SIZE (koue-rssroll-0.6.2_GH0.tar.gz) = 24228
SHA256 (koue-libcez-1.05_GH0.tar.gz) = 8cb938d869c8a4a5547c44bc49489224d877341778c0746b11d308905c41db52
SIZE (koue-libcez-1.05_GH0.tar.gz) = 143054