diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-02-26 14:41:04 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-02-26 14:41:04 +0000 |
commit | 35a0329bbc16f8a5f6c549c91f6145699e35dfcb (patch) | |
tree | 1ff55464e4bc9015ddff9deff2ff8367caef69c7 /databases/usogres | |
parent | - Update to 1.0.49 (diff) |
- Unbreak.
- Avoid overwriting config files.
- Add pkg-message.in.
Submitted by: Thomas Sandford <freebsduser@paradisegreen.co.uk>
PR: ports/109559
Notes
Notes:
svn path=/head/; revision=185989
Diffstat (limited to 'databases/usogres')
-rw-r--r-- | databases/usogres/Makefile | 11 | ||||
-rw-r--r-- | databases/usogres/files/pkg-message.in | 9 |
2 files changed, 13 insertions, 7 deletions
diff --git a/databases/usogres/Makefile b/databases/usogres/Makefile index 36e864138dd6..288f3a3f35b7 100644 --- a/databases/usogres/Makefile +++ b/databases/usogres/Makefile @@ -7,20 +7,18 @@ PORTNAME= usogres PORTVERSION= 0.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://usogres.good-day.net/download/ MAINTAINER= kuriyama@FreeBSD.org COMMENT= Real-time backup utility for PostgreSQL -BROKEN= Leaves behind config file on deinstall -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2007-04-10 - USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message # To avoid syslogd load, add this parameter. #MAKE_ARGS= NDEBUG=yes @@ -29,7 +27,6 @@ post-patch: cd ${WRKSRC}; ${CP} usogresrc usogresrc.sample post-install: - [ -f ${PREFIX}/etc/usogresrc ] || \ - ${INSTALL_DATA} ${WRKSRC}/usogresrc ${PREFIX}/etc + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/databases/usogres/files/pkg-message.in b/databases/usogres/files/pkg-message.in new file mode 100644 index 000000000000..61f4727f869e --- /dev/null +++ b/databases/usogres/files/pkg-message.in @@ -0,0 +1,9 @@ +A sample configuration file has been installed in + + %%PREFIX%%/etc/usogres.sample + +This file should be copied to + + %%PREFIX%%/etc/usogres + +and edited to suit your desired setup. |