pkgsrc/archivers/afio/Makefile

28 lines
703 B
Makefile

# $NetBSD: Makefile,v 1.14 2014/10/09 14:05:50 wiz Exp $
DISTNAME= afio-2.5
PKGREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://www.ibiblio.org/pub/Linux/system/backup/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://freshmeat.net/projects/afio/
COMMENT= Data corruption handling cpio-format archive creator
BUILD_TARGET= afio
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
# Don't define HAVE_LCHOWN
MAKE_FLAGS+= e2=
.endif
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/afio ${DESTDIR}${PREFIX}/bin/afio
${INSTALL_MAN} ${WRKSRC}/afio.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/afio.1
.include "../../mk/bsd.pkg.mk"