diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2005-12-16 15:22:05 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2005-12-16 15:22:05 +0000 |
commit | c557ae2d1b37a43a8d0780f5c33df749c4fbf3cb (patch) | |
tree | f7d383b8d4c07078254ada60ca4c8910f5acac21 /sysutils/epylog | |
parent | 00f2aeb4ded99f0628546937a104355abac78acc (diff) |
Variable CONF_FILES is changed to LOCAL_CONF_FILES.
PR: ports/90457
Submitted by: maintainer
Approved by: sem(mentor)
Notes
Notes:
svn path=/head/; revision=151328
Diffstat (limited to 'sysutils/epylog')
-rw-r--r-- | sysutils/epylog/Makefile | 4 | ||||
-rw-r--r-- | sysutils/epylog/files/pkg-deinstall.in | 2 | ||||
-rw-r--r-- | sysutils/epylog/files/pkg-install.in | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/epylog/Makefile b/sysutils/epylog/Makefile index 480a41329a39..4c7f2b1f8a2f 100644 --- a/sysutils/epylog/Makefile +++ b/sysutils/epylog/Makefile @@ -28,7 +28,7 @@ CONFIGURE_ARGS= --with-lynx=${LOCALBASE}/bin/lynx USE_PERL5= yes USE_PYTHON= yes -CONF_FILES= epylog.conf \ +LOCAL_CONF_FILES= epylog.conf \ modules.d/logins.conf \ modules.d/mail.conf \ modules.d/notices.conf \ @@ -40,7 +40,7 @@ CONF_FILES= epylog.conf \ weed_local.cf SUB_FILES= pkg-install pkg-deinstall -SUB_LIST= CONF_FILES="${CONF_FILES}" +SUB_LIST= LOCAL_CONF_FILES="${LOCAL_CONF_FILES}" post-patch: @${REINPLACE_CMD} -e 's|$$sysconfdir/cron\.daily|$$sysconfdir/epylog|' \ diff --git a/sysutils/epylog/files/pkg-deinstall.in b/sysutils/epylog/files/pkg-deinstall.in index 3d4a699f4e8e..07fc83709162 100644 --- a/sysutils/epylog/files/pkg-deinstall.in +++ b/sysutils/epylog/files/pkg-deinstall.in @@ -2,7 +2,7 @@ [ "$2" != "DEINSTALL" ] && exit 0 -for f in %%CONF_FILES%%; do +for f in %%LOCAL_CONF_FILES%%; do if cmp -s "${PKG_PREFIX}/etc/epylog/$f" "${PKG_PREFIX}/etc/epylog/$f.default"; then rm -f "${PKG_PREFIX}/etc/epylog/$f" fi diff --git a/sysutils/epylog/files/pkg-install.in b/sysutils/epylog/files/pkg-install.in index e5230d62f16d..9af57bcbcf0b 100644 --- a/sysutils/epylog/files/pkg-install.in +++ b/sysutils/epylog/files/pkg-install.in @@ -2,7 +2,7 @@ [ "$2" != "POST-INSTALL" ] && exit 0 -for f in %%CONF_FILES%%; do +for f in %%LOCAL_CONF_FILES%%; do if ! [ -f "${PKG_PREFIX}/etc/epylog/$f" ]; then cp -p "${PKG_PREFIX}/etc/epylog/$f.default" "${PKG_PREFIX}/etc/epylog/$f" fi |