aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/star-devel/Makefile
blob: ccea5a94fccf5d8ebfa06421b1b4028f4963f20b (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
35
36
37
38
# New ports collection makefile for:    star-devel
# Date created:             19.06.2004 22:27:00 CEST
# Whom:                 Martin Matuska <martin@matuska.org>
#
# $FreeBSD$
#

PORTNAME=   star
PORTVERSION=    1.5.a.58
PORTREVISION=   1
CATEGORIES= archivers
MASTER_SITES=   ftp://ftp.berlios.de/pub/star/alpha/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.a./a/}

MAINTAINER= martin@matuska.org
COMMENT=    Unique standard tape archiver with many enhancements

BUILD_DEPENDS=  ${LOCALBASE}/bin/smake:${PORTSDIR}/devel/smake

CONFLICTS=  star-1.4*
LATEST_LINK=    star-devel

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.a.*//g}

USE_BZIP2=  yes
MAN1=       star.1
MAN5=       star.5
MLINKS=     star.1 ustar.1 star.5 ustar.5
MAKE_ENV=   MAKEFLAGS=${MAKEFLAGS}

do-build:
    @cd ${WRKSRC} && ${MAKE_ENV} ${LOCALBASE}/bin/smake

do-install:
    @cd ${WRKSRC}/star && ${MAKE_ENV} ${LOCALBASE}/bin/smake install INS_BASE=${PREFIX}
    @${STRIP_CMD} ${PREFIX}/bin/star_fat

.include <bsd.port.mk>