diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-19 19:48:00 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-12-19 19:48:00 +0000 |
commit | c7d6db95b6f01b41a709fa21581b4ea89bb71547 (patch) | |
tree | a416b9d9b82a8f51a7cf7c8689a5688100cc3209 /sysutils | |
parent | 968dcc551a1cbd72fcada8553ae2506fa8ea71ad (diff) | |
download | ports-c7d6db95b6f01b41a709fa21581b4ea89bb71547.tar.gz ports-c7d6db95b6f01b41a709fa21581b4ea89bb71547.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nut/Makefile | 4 | ||||
-rw-r--r-- | sysutils/nut/pkg-plist | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index 8fafc5297fdc..913a1f434fc2 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -165,6 +165,10 @@ CONFIGURE_ARGS+= --with-ipv6 CONFIGURE_ARGS+= --without-ipv6 .endif +post-patch: + @${REINPLACE_CMD} -e 's|<hal/|<|' ${WRKSRC}/drivers/main-hal.c ${WRKSRC}/drivers/dstate-hal.c ${WRKSRC}/drivers/dstate-hal.h + @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share| ; s|$${datarootdir}|${PREFIX}/share|' ${WRKSRC}/m4/nut_check_libhal.m4 + pre-install: @${MKDIR} ${PREFIX}/libexec/nut @${MKDIR} ${STATEDIR} diff --git a/sysutils/nut/pkg-plist b/sysutils/nut/pkg-plist index b9cac9e465a7..214429a02810 100644 --- a/sysutils/nut/pkg-plist +++ b/sysutils/nut/pkg-plist @@ -72,6 +72,7 @@ libdata/pkgconfig/libupsclient.pc sbin/upsd sbin/upsmon sbin/upssched +%%NUT_HAL%%share/hal/fdi/information/20thirdparty/20-ups-nut-device.fdi %%NUT_CGI%%%%CGIDIR%%/upsimage.cgi %%NUT_CGI%%%%CGIDIR%%/upsset.cgi %%NUT_CGI%%%%CGIDIR%%/upsstats.cgi @@ -88,4 +89,5 @@ sbin/upssched @dirrmtry libexec/nut @dirrmtry %%STATEDIR%% %%NUT_CGI%%@dirrm %%CGIDIR%% +%%NUT_CGI%%@dirrmtry www/cgi-bin %%NUT_CGI%%@dirrm %%WWWDIR%% |