1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/sysutils/flexbackup/Makefile
Will Andrews 55ff798a18 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>
2000-04-08 05:38:35 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: flexbackup
# Version required: 0.9.8
# Date created: Wed Nov 3 17:58:26 MST 1999
# Whom: John Reynolds <jjreynold@home.com>
#
# $FreeBSD$
#
DISTNAME= flexbackup-0.9.8
CATEGORIES= sysutils
MASTER_SITES= http://www.bluecherry.net/~edwinh/flexbackup/tarball/ \
http://members.home.com/flexbackup/tarball/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/backup
MAINTAINER= jjreynold@home.com
RUN_DEPENDS= afio:${PORTSDIR}/sysutils/afio \
buffer:${PORTSDIR}/misc/buffer
NO_BUILD = yes
USE_PERL5 = yes
post-configure:
@${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/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 | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g'
.include <bsd.port.mk>