mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
73b5f9de96
PR: 232806 Submitted by: Nikola Kolev <koue@chaosophia.net> (maintainer)
43 lines
989 B
Makefile
43 lines
989 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rssroll
|
|
PORTVERSION= 0.6.2
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= koue@chaosophia.net
|
|
COMMENT= RSS collector in C
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
|
|
|
USES= sqlite:3
|
|
USE_GNOME= libxml2
|
|
|
|
CEZ_VERSION= 1.05
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= koue
|
|
|
|
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})
|
|
|
|
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>
|