1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

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>
This commit is contained in:
Will Andrews 2000-04-08 05:38:35 +00:00
parent 9ed2cd15cd
commit 55ff798a18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27407
3 changed files with 16 additions and 14 deletions

View File

@ -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>

View File

@ -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 :).
-------------------------------------------------------------------------------

View File

@ -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