1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/sysutils/afio/Makefile
Dmitry Marakasov 3e5b9c2dd2 - Fix shebangs in examples
- Fix examples installation

PR:		201990
Submitted by:	amdmi3
Approved by:	portmaster@bsdforge.com (maintainer)
2015-08-05 12:31:29 +00:00

37 lines
877 B
Makefile

# Created by: Juergen Lock <nox@jelal.hb.north.de>
# $FreeBSD$
PORTNAME= afio
PORTVERSION= 2.5
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SUNSITE/system/backup
MAINTAINER= portmaster@BSDforge.com
COMMENT= Archiver and backup program with builtin compression
LICENSE= ART20 BSD2CLAUSE
LICENSE_COMB= multi
USES= tar:tgz shebangfix
SHEBANG_FILES= script1/backup script2/backup
ALL_TARGET= ${PORTNAME}
SUB_FILES= pkg-message
PLIST_FILES= bin/afio man/man1/afio.1.gz
PORTDOCS= HISTORY README SCRIPTS
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} script? ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>