summaryrefslogtreecommitdiff
path: root/archivers/star/Makefile
blob: 81c74deaa62236226f5742eb968c18baf8a9265b (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
# $NetBSD: Makefile,v 1.11 2004/09/18 14:01:53 uebayasi Exp $
#

DISTNAME=	star-1.4.3
CATEGORIES=	archivers
MASTER_SITES=	ftp://ftp.berlios.de/pub/star/

MAINTAINER=	uebayasi@NetBSD.org
HOMEPAGE=	http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html
COMMENT=	The fastest tar like archiver for UNIX

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_GNU_TOOLS+=	make
MAKE_FLAGS+=	INS_BASE=${PREFIX}

.if "${OPSYS}" == "NetBSD" && "${MACHINE_ARCH}" == "x86_64"
post-extract:
	${LN} -s ${WRKSRC}/RULES/i386-netbsd-cc.rul \
	    ${WRKSRC}/RULES/x86_64-netbsd-cc.rul
.endif

pre-build:
	@cd ${WRKSRC}/RULES && for i in arm mipsel; do			\
		${LN} -s i386-netbsd-cc.rul $$i-netbsd-cc.rul; done

.include "../../mk/bsd.pkg.mk"