blob: f41bc2e6b86d8a667ba4409ce073a8c6198c6006 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
PORTNAME= rssroll
PORTVERSION= 0.6.2
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= koue@chaosophia.net
COMMENT= RSS collector in C
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libcurl.so:ftp/curl
USES= gnome 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
# XXX Static libraries with PIE are currently unsupported.
MAKE_ENV+= WITHOUT_PIE=true
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>
|