Lines 16-22
Link Here
|
16 |
|
16 |
|
17 |
USE_GMAKE= yes |
17 |
USE_GMAKE= yes |
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
USE_AUTOTOOLS= libltdl |
19 |
USE_AUTOTOOLS= autoconf autoheader libltdl |
20 |
WANT_GNOME= yes |
20 |
WANT_GNOME= yes |
21 |
|
21 |
|
22 |
OPTIONS= CGI "Install collection.cgi (requires RRDTOOL)" Off \ |
22 |
OPTIONS= CGI "Install collection.cgi (requires RRDTOOL)" Off \ |
Lines 385-391
Link Here
|
385 |
-e 's;/var/lib/;/var/db/;' \ |
385 |
-e 's;/var/lib/;/var/db/;' \ |
386 |
${WRKSRC}/src/collectd.conf.in |
386 |
${WRKSRC}/src/collectd.conf.in |
387 |
@${REINPLACE_CMD} \ |
387 |
@${REINPLACE_CMD} \ |
388 |
-e 's;$$[(]DESTDIR)$$[(]sysconfdir)/collectd\.conf;&.sample;' \ |
388 |
-e 's;$$(INSTALL).*$$[(]DESTDIR)$$[(]sysconfdir)/collectd\.conf;&.sample;' \ |
389 |
${WRKSRC}/src/Makefile.in |
389 |
${WRKSRC}/src/Makefile.in |
390 |
@${REINPLACE_CMD} -e '/$$[(]mkinstalldirs)/d' ${WRKSRC}/Makefile.in |
390 |
@${REINPLACE_CMD} -e '/$$[(]mkinstalldirs)/d' ${WRKSRC}/Makefile.in |
391 |
@${REINPLACE_CMD} \ |
391 |
@${REINPLACE_CMD} \ |
Lines 397-409
Link Here
|
397 |
${WRKSRC}/contrib/collection.conf |
397 |
${WRKSRC}/contrib/collection.conf |
398 |
@${REINPLACE_CMD} \ |
398 |
@${REINPLACE_CMD} \ |
399 |
-e 's;{libdir}/pkgconfig;{prefix}/libdata/pkgconfig;' \ |
399 |
-e 's;{libdir}/pkgconfig;{prefix}/libdata/pkgconfig;' \ |
400 |
${WRKSRC}/configure |
400 |
${WRKSRC}/configure.in |
401 |
|
401 |
|
402 |
post-install: |
402 |
post-install: |
403 |
${MKDIR} /var/db/collectd |
403 |
${MKDIR} /var/db/collectd |
404 |
if [ ! -f ${PREFIX}/etc/collectd.conf ]; then \ |
404 |
if [ ! -f ${PREFIX}/etc/collectd.conf.sample ]; then \ |
405 |
${CP} -p ${PREFIX}/etc/collectd.conf.sample \ |
405 |
${CP} -p ${PREFIX}/etc/collectd.conf \ |
406 |
${PREFIX}/etc/collectd.conf ; \ |
406 |
${PREFIX}/etc/collectd.conf.sample; \ |
407 |
fi |
407 |
fi |
408 |
.if defined(WITH_CGI) |
408 |
.if defined(WITH_CGI) |
409 |
${MKDIR} ${WWWDIR} |
409 |
${MKDIR} ${WWWDIR} |