diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-08-04 17:12:28 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-08-04 17:12:28 +0000 |
commit | fecf199f91625d62c1ee4703b513d0bda484e178 (patch) | |
tree | 76accadc65e6baa8f76ef9d860fc76ae13f0db7b /irc | |
parent | 1a76018a0be969ab4b302f843898146ae67d5145 (diff) | |
download | ports-fecf199f91625d62c1ee4703b513d0bda484e178.tar.gz ports-fecf199f91625d62c1ee4703b513d0bda484e178.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/bopm/Makefile | 12 | ||||
-rw-r--r-- | irc/bopm/pkg-plist | 7 |
2 files changed, 9 insertions, 10 deletions
diff --git a/irc/bopm/Makefile b/irc/bopm/Makefile index c86d50f6e90e..3ce59ee98026 100644 --- a/irc/bopm/Makefile +++ b/irc/bopm/Makefile @@ -27,22 +27,14 @@ SUB_LIST= LOGDIR=${LOGDIR} USERS= bopm GROUPS= bopm -NO_STAGE= yes post-patch: @${REINPLACE_CMD} \ -e 's,data_DATA = bopm.conf.sample,data_DATA =,g' \ - -e 's,$(sysconfdir)/bopm.conf,$(sysconfdir)/bopm.conf.sample,g' \ - ${WRKSRC}/Makefile.in + -e 's,$$(sysconfdir)/bopm.conf,$$(DESTDIR)&.sample,g' \ + -e '/localstatedir/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} \ -e 's,/some/path/bopm.pid,${LOGDIR}/bopm.pid,g' \ -e 's,/some/path/scan.log,${LOGDIR}/scan.log,g' \ ${WRKSRC}/bopm.conf.sample -post-install: - @${CHOWN} ${USERS}:${GROUPS} ${LOGDIR} - @${CHMOD} 750 ${LOGDIR} - @${CHOWN} ${USERS}:${GROUPS} ${PREFIX}/etc/bopm.conf.sample - @${CHMOD} 640 ${PREFIX}/etc/bopm.conf.sample - @${CAT} ${PKGMESSAGE} - .include <bsd.port.mk> diff --git a/irc/bopm/pkg-plist b/irc/bopm/pkg-plist index c3fac3c8c84d..0afe6fee11ce 100644 --- a/irc/bopm/pkg-plist +++ b/irc/bopm/pkg-plist @@ -1,7 +1,13 @@ @unexec /bin/echo "===>" Stopping bopm... @unexec /usr/bin/killall bopm 2>/dev/null || true bin/bopm +@owner bopm +@group bopm +@mode 640 etc/bopm.conf.sample +@owner +@group +@mode include/opm.h include/opm_error.h include/opm_types.h @@ -11,3 +17,4 @@ lib/libopm.so.0 lib/libopm.so lib/libopm.la lib/libopm.a +@exec install -d -m 750 -o bopm -g bopm %%LOGDIR%% 2>/dev/null || true |