summaryrefslogtreecommitdiff
path: root/sysutils/star/Makefile
blob: 2e6c920a7d3fa195a873b14f0120dd97b57b75b5 (plain) (blame)
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
# New ports collection makefile for:	star
# Version required:	1,0
# Date created:		Thu May  1 20:28:44 CEST 1997
# Whom:			Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#

DISTNAME=		star-1.2
CATEGORIES=		sysutils
MASTER_SITES=		ftp://ftp.fokus.gmd.de/pub/unix/star/ \
			${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	utils/compress

MAINTAINER=	andreas@FreeBSD.org

USE_GMAKE=	yes
MAKE_ENV=	MAKEPROG=gmake CCOM=${CC}
MAN1=		star.1
MLINKS=		star.1 ustar.1

.if ${MACHINE_ARCH} != "i386"
post-extract:
	@${LN} -sf i386-freebsd-cc.rul \
		${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-cc.rul
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/star/OBJ/${MACHINE_ARCH}-freebsd-cc/star \
		${PREFIX}/bin
	(cd ${PREFIX}/bin; ${LN} -f star ustar)
	${INSTALL_MAN} ${WRKSRC}/star/star.1 ${PREFIX}/man/man1

.include <bsd.port.mk>