aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p4d/Makefile
blob: f0d7009652678ee6f9d563429ca96b2a5a41fb0e (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
41
42
43
44
# New ports collection makefile for:    perforce
# Date created:             3 Mai 2000
# Whom:                 sam@inf.enst.fr
#
# $FreeBSD$
#

PORTNAME=   perforce
PORTVERSION=    00.2
PORTEPOCH=  1
CATEGORIES= devel
MASTER_SITES=   ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.freebsd/ \
        http://www.dsmit.com/p4/ \
        ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/doc/man/
EXTRACT_SUFX=
DISTFILES=  p4 p4d p4web p4.1 p4d.1
DIST_SUBDIR=    perforce

MAINTAINER= sam@inf.enst.fr

NO_PACKAGE= Restricted distribution
NO_CDROM=   Restricted distribution
MAN1=       p4.1 p4d.1

do-extract:
    @${MKDIR} ${WRKSRC}

do-build:
    ${SED} -e "s,@PREFIX@,${PREFIX},g" \
        < ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh

do-install:
    ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4 ${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4web ${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4d ${PREFIX}/sbin/
    if [ ! -f ${PREFIX}/etc/perforce ]; then \
      ${INSTALL_DATA} ${FILESDIR}/perforce ${PREFIX}/etc/; \
    fi
    ${INSTALL_SCRIPT} ${WRKSRC}/perforce.sh ${PREFIX}/etc/rc.d/
.for PERFMAN in p4 p4d
    ${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/${PERFMAN}.1 ${PREFIX}/man/man1
.endfor

.include <bsd.port.mk>
/a>hoek1999-06-271-1/+1 * Too many WWW:'s in the world, too many WWW:'s take one down and pass itmharo1999-05-031-1/+1 * Fix the following problems noticed by maintainer:steve1999-03-093-10/+9 * Email address change, and URL additionflathill1999-02-122-3/+5 * Move ports/misc/x-files -> ports/x11-fm/x-files, and activate.billf1998-12-031-4/+2 * Copied from misc at billf's request. Mark it broken while he fixes upasami1998-12-021-1/+3 * Properly define BROKEN (only if DISPLAY is not set).asami1998-09-151-3/+5 * Fix up dependencies for ports that moved into the x11-toolkits category.asami1998-08-081-2/+2 * Rename all USE_X11 to USE_X_PREFIX. Requires 1.279 (3.0-current) orasami1998-08-051-2/+4