1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/sysutils/afio/Makefile
Chris Rees 3116728e3e - Fix build with clang
PR:		ports/158100
Submitted by:	Niclas Zeising <niclas.zeising@gmail.com>
Approved by:	rene (mentor)
2011-07-03 19:02:08 +00:00

38 lines
982 B
Makefile

# New ports collection makefile for: afio
# Date created: 4 October 1995
# Whom: Juergen Lock <nox@jelal.hb.north.de>
#
# $FreeBSD$
#
PORTNAME= afio
PORTVERSION= 2.5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/backup
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Archiver & backup program w/ builtin compression
ALL_TARGET= ${PORTNAME}
MAN1= afio.1
post-patch:
@${REINPLACE_CMD} -e 's|^CC=.*$$|CC=${CC}|' \
${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_MAN} README SCRIPTS ${DOCSDIR})
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/script1/DONTDUMP ${EXAMPLESDIR}
@${INSTALL_SCRIPT} ${WRKSRC}/script2/* ${EXAMPLESDIR}
@${INSTALL_SCRIPT} ${WRKSRC}/script3/* ${EXAMPLESDIR}
@${INSTALL_SCRIPT} ${WRKSRC}/script4/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>