6a0bbfc676
their files via a custom do-install target.
31 lines
787 B
Makefile
31 lines
787 B
Makefile
# $NetBSD: Makefile,v 1.10 2008/03/02 03:48:36 jlam Exp $
|
|
|
|
DISTNAME= afio-2.5
|
|
PKGREVISION= 1
|
|
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= cpio-format archive creator with data corruption handling
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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"
|