blob: b755e9f5f9d91f8717be8c7fac366d8d07171fe5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.40 2009/04/09 00:48:06 joerg Exp $
DISTNAME= pax-20080110
CATEGORIES= archivers
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= POSIX standard archiver with many extensions
PKG_DESTDIR_SUPPORT= user-destdir
BOOTSTRAP_PKG= yes
CHECK_PERMS= no
USE_FEATURES= nbcompat
.include "../../mk/bsd.prefs.mk"
.if defined(NBPAX_PROGRAM_PREFIX) && ${NBPAX_PROGRAM_PREFIX} != ""
CONFIGURE_ARGS+= --program-prefix=${NBPAX_PROGRAM_PREFIX:Q}
.else
# pax installs "tar" and "cpio"
.if defined(GNU_PROGRAM_PREFIX) && empty(GNU_PROGRAM_PREFIX)
CONFLICTS+= gcpio-[0-9]*
.endif
.if defined(GTAR_PROGRAM_PREFIX) && empty(GTAR_PROGRAM_PREFIX)
CONFLICTS+= gtar-base-[0-9]*
.endif
.endif
PLIST_SUBST+= NBPAX_PROGRAM_PREFIX=${NBPAX_PROGRAM_PREFIX:Q}
BUILD_DEFS+= NBPAX_PROGRAM_PREFIX
GNU_CONFIGURE= yes
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
.include "../../mk/bsd.pkg.mk"
|