diff options
-rw-r--r-- | astro/squeuer/Makefile | 4 | ||||
-rw-r--r-- | astro/squeuer/files/pkg-message.in (renamed from astro/squeuer/pkg-message) | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/astro/squeuer/Makefile b/astro/squeuer/Makefile index e1f4498489ee..5ac34672a3b7 100644 --- a/astro/squeuer/Makefile +++ b/astro/squeuer/Makefile @@ -20,6 +20,8 @@ USE_PERL5_RUN= yes MAN8= squeuer.8 MAN5= squeuer.conf.5 +PKGMESSAGE= ${WRKDIR}/pkg-message + # These must be writeable by the user "squeuer" SPOOLDIR?= /var/spool/squeuer LOGDIR?= /var/spool/squeuer @@ -32,6 +34,8 @@ do-configure: -e "s:%%LOGDIR%%:${LOGDIR}:g" \ -e "s:%%PIDDIR%%:${PIDDIR}:g" $$i; \ done + ${SED} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \ + ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/squeuer.pl ${PREFIX}/sbin/squeuer diff --git a/astro/squeuer/pkg-message b/astro/squeuer/files/pkg-message.in index 787a01e835e3..8818725d4995 100644 --- a/astro/squeuer/pkg-message +++ b/astro/squeuer/files/pkg-message.in @@ -2,7 +2,7 @@ ============================================================= To use SQueuer with the setiathome port, the file - /usr/local/etc/rc.setiathome.conf + %%LOCALBASE%%/etc/rc.setiathome.conf must be modified (specifically the seti_proxy_server setting) and setiathome restarted. |