1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/afio/Makefile
Edwin Groothuis ef262184db [PATCH] sysutils/afio mangles FIFOs
When run under FreeBSD, `afio' will successfully back up
	FIFOs, but will not correctly restore them. The problem
	arises from `afio' using mknod(2) to try to create a FIFO
	- a Linuxism. The correct function for it to use is mkfifo(2).

	Also, `afio' tries to recreate sockets. This behavior should
	be disabled under FreeBSD.

PR:		ports/52452
Submitted by:	oremanj <oremanj@get-linux.org> (boucnes)
2003-09-29 23:36:20 +00:00

35 lines
1009 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.4.7
PORTREVISION= 1
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-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_MAN} README SCRIPTS ${DOCSDIR})
@${MKDIR} ${PREFIX}/share/examples/afio
@${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example ${PREFIX}/share/examples/afio
@${INSTALL_DATA} ${WRKSRC}/script1/DONTDUMP ${PREFIX}/share/examples/afio
@${INSTALL_SCRIPT} ${WRKSRC}/script2/* ${PREFIX}/share/examples/afio
@${INSTALL_SCRIPT} ${WRKSRC}/script3/* ${PREFIX}/share/examples/afio
@${INSTALL_SCRIPT} ${WRKSRC}/script4/* ${PREFIX}/share/examples/afio
.endif
.include <bsd.port.mk>