diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2007-02-26 22:41:04 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2007-02-26 22:41:04 +0800 |
commit | a63104ab4fbb75eb360803e57d1f41b9210384a2 (patch) | |
tree | 6605b425b37bb78af23cf1a5bc880eb4dadd3536 /databases | |
parent | 562cbf2ff165583b35af00c89b68232aaa9c5a12 (diff) | |
download | freebsd-ports-gnome-a63104ab4fbb75eb360803e57d1f41b9210384a2.tar.gz freebsd-ports-gnome-a63104ab4fbb75eb360803e57d1f41b9210384a2.tar.zst freebsd-ports-gnome-a63104ab4fbb75eb360803e57d1f41b9210384a2.zip |
- Unbreak.
- Avoid overwriting config files.
- Add pkg-message.in.
Submitted by: Thomas Sandford <freebsduser@paradisegreen.co.uk>
PR: ports/109559
Diffstat (limited to 'databases')
-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. |