aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p4/Makefile
blob: d205d887551c0c0222c22fc9a4c2af741b49860d (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
39
40
# New ports collection makefile for:    p4
# Date created:             3 Apr 2010
# Whom:                 gordon@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   p4
PORTVERSION=    2012.1.473528
CATEGORIES= devel
MASTER_SITES=   ftp://ftp.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/ \
        http://filehost.perforce.com/perforce/${P4VERSION}/bin.${PLATFORM}/
DISTNAME=   p4
EXTRACT_SUFX=
EXTRACT_ONLY=   # none

MAINTAINER= gordon@FreeBSD.org
COMMENT=    Perforce client

ONLY_FOR_ARCHS= amd64 i386

P4VERSION=  r${PORTVERSION:S/^20//:C/\.[0-9]+$//}
DIST_SUBDIR=    perforce/${PORTVERSION}/bin.${PLATFORM}
DISTINFO_FILE=  ${MASTERDIR}/distinfo.${PLATFORM}

RESTRICTED= Restricted distribution

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_FILES=    bin/p4

.include <bsd.port.pre.mk>

.include "Makefile.inc"

do-install:
    ${INSTALL_PROGRAM} ${_DISTDIR}/p4 ${PREFIX}/bin/

.include <bsd.port.post.mk>