aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/bsdar/Makefile
blob: 1490d4dd9405a19fa1e83918d48345c8e5abeba1 (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
# New ports collection makefile for:    bsdar
# Date created:             18 Jan 2008
# Whom:                 Gabor Kovesdan <gabor@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   ar
PORTVERSION=    20080112
CATEGORIES= archivers
MASTER_SITES=   http://web.student.chalmers.se/~kaiw/patch/
PKGNAMEPREFIX=  bsd-
EXTRACT_SUFX=   .tgz

MAINTAINER= gabor@FreeBSD.org
COMMENT=    BSD-licensed replacement of the ar utility

WRKSRC=     ${WRKDIR}/${PORTNAME}
PLIST_FILES=    bin/ar bin/ranlib
MAN1=       ar.1 ranlib.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700055
IGNORE=     does not compile
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ar ${PREFIX}/bin/ar
    ${LN} -s ${PREFIX}/bin/ar ${PREFIX}/bin/ranlib
    ${INSTALL_DATA} ${WRKSRC}/ar.1 ${MAN1PREFIX}/man/man1/ar.1
    ${INSTALL_DATA} ${WRKSRC}/ar.1 ${MAN1PREFIX}/man/man1/ranlib.1

.include <bsd.port.post.mk>