diff options
author | Will Andrews <will@FreeBSD.org> | 2000-04-08 05:38:35 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-04-08 05:38:35 +0000 |
commit | 55ff798a186f2dfce82efe9776e38ff4c3391d18 (patch) | |
tree | e98344d5b1f54932fddc85ff24eac4f63d7f940c /sysutils/flexbackup | |
parent | 9ed2cd15cd6d796aea71138c0f041b1c75880f0c (diff) | |
download | ports-55ff798a186f2dfce82efe9776e38ff4c3391d18.tar.gz ports-55ff798a186f2dfce82efe9776e38ff4c3391d18.zip |
Modify flexbackup to use MASTER_SITE_SUBDIR, and also make pkg/MESSAGE
more PREFIX-friendly. Also, put flexbackup docs in share/doc/flexbackup.
Reflect this doc change in MESSAGE too.
PR: 17762
Submitted by: John Reynolds <jjreynold@home.com>
Notes
Notes:
svn path=/head/; revision=27407
Diffstat (limited to 'sysutils/flexbackup')
-rw-r--r-- | sysutils/flexbackup/Makefile | 15 | ||||
-rw-r--r-- | sysutils/flexbackup/pkg-message | 9 | ||||
-rw-r--r-- | sysutils/flexbackup/pkg-plist | 6 |
3 files changed, 16 insertions, 14 deletions
diff --git a/sysutils/flexbackup/Makefile b/sysutils/flexbackup/Makefile index df36b674b2fc..81d3a040d7cf 100644 --- a/sysutils/flexbackup/Makefile +++ b/sysutils/flexbackup/Makefile @@ -10,7 +10,8 @@ DISTNAME= flexbackup-0.9.8 CATEGORIES= sysutils MASTER_SITES= http://www.bluecherry.net/~edwinh/flexbackup/tarball/ \ http://members.home.com/flexbackup/tarball/ \ - http://metalab.unc.edu/pub/linux/system/backup/ + ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= system/backup MAINTAINER= jjreynold@home.com @@ -21,16 +22,16 @@ NO_BUILD = yes USE_PERL5 = yes post-configure: - @cp ${WRKSRC}/flexbackup.conf ${WRKSRC}/flexbackup.conf.sample - @cp ${WRKSRC}/README ${WRKSRC}/flexbackup.README + @${CP} ${WRKSRC}/flexbackup.conf ${WRKSRC}/flexbackup.conf.sample + @${CP} ${WRKSRC}/README ${WRKSRC}/flexbackup.README do-install: ${INSTALL_SCRIPT} ${WRKSRC}/flexbackup ${PREFIX}/bin - ${MKDIR} ${PREFIX}/share/flexbackup - ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.sample ${PREFIX}/share/flexbackup - ${INSTALL_DATA} ${WRKSRC}/flexbackup.README ${PREFIX}/share/flexbackup + ${MKDIR} ${PREFIX}/share/doc/flexbackup + ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.sample ${PREFIX}/share/doc/flexbackup + ${INSTALL_DATA} ${WRKSRC}/flexbackup.README ${PREFIX}/share/doc/flexbackup post-install: - @cat ${PKGDIR}/MESSAGE + @${CAT} ${PKGDIR}/MESSAGE | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g' .include <bsd.port.mk> diff --git a/sysutils/flexbackup/pkg-message b/sysutils/flexbackup/pkg-message index 903270e70247..39ac5433efcb 100644 --- a/sysutils/flexbackup/pkg-message +++ b/sysutils/flexbackup/pkg-message @@ -3,9 +3,9 @@ Flexbackup needs to have its configuration file placed in /etc. A template copy of this configuration file has been installed into - ${PREFIX}/share/flexbackup/flexbackup.conf.sample + %%PREFIX%%/share/doc/flexbackup/flexbackup.conf.sample -(where PREFIX nominally is /usr/local). Please copy this file as +Please copy this file as /etc/flexbackup.conf @@ -15,7 +15,8 @@ and edit appropriately for your site configuration. ** Changes have occurred in this file since previous versions ** **************************************************************** -Also see ${PREFIX}/share/flexbackup/flexbackup.README for more information on -how to use flexbackup (until the man pages are written :). +Also see %%PREFIX%%/share/doc/flexbackup/flexbackup.README +for more information on how to use flexbackup (until the man +pages are written :). ------------------------------------------------------------------------------- diff --git a/sysutils/flexbackup/pkg-plist b/sysutils/flexbackup/pkg-plist index 5f52107e3430..adb66207ab7a 100644 --- a/sysutils/flexbackup/pkg-plist +++ b/sysutils/flexbackup/pkg-plist @@ -1,4 +1,4 @@ bin/flexbackup -share/flexbackup/flexbackup.conf.sample -share/flexbackup/flexbackup.README -@dirrm share/flexbackup +share/doc/flexbackup/flexbackup.conf.sample +share/doc/flexbackup/flexbackup.README +@dirrm share/doc/flexbackup |