forked from Lainports/freebsd-ports
2. utilize PORTDOCS PR: 37054 (1) Submitted by: Joseph King <king@v2project.com> Approved by: maintainer
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: flexbackup
|
|
# Date created: Wed Nov 3 17:58:26 MST 1999
|
|
# Whom: John Reynolds <johnjen@reynoldsnet.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= flexbackup
|
|
PORTVERSION= 0.9.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \
|
|
${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= system/backup
|
|
|
|
MAINTAINER= johnjen@reynoldsnet.org
|
|
|
|
RUN_DEPENDS= afio:${PORTSDIR}/sysutils/afio \
|
|
buffer:${PORTSDIR}/misc/buffer \
|
|
gtar:${PORTSDIR}/archivers/gtar
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s|tar --|gtar --|g" ${WRKSRC}/flexbackup
|
|
|
|
post-configure:
|
|
@${CP} ${WRKSRC}/flexbackup.conf ${WRKSRC}/flexbackup.conf.sample
|
|
@${CP} ${WRKSRC}/README ${WRKSRC}/flexbackup.README
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/flexbackup ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.sample ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/flexbackup.README ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g'
|
|
|
|
.include <bsd.port.mk>
|