blob: e44f4e4b6498ef0898ae0992937bd7d769b13fe7 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# New ports collection makefile for: p4v
# Date created: 14 February 2004
# Whom: bms@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= p4v
PORTVERSION= 2004.1.65538
CATEGORIES= devel
MASTER_SITES= \
http://www.perforce.com/downloads/perforce/r04.1/bin.freebsd4/ \
ftp://ftp.perforce.com/pub/perforce/r04.1/bin.freebsd4/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= bms@FreeBSD.org
COMMENT= Visual client for Perforce SCM
NO_CDROM= yes
RESTRICTED= "Binary redistribution restrictions in effect"
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST= ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
P4V_DOCS_DIR= P4VResources/p4vhelp
P4V_DOCS= About_Perforce_products.html About_file_icons.html \
Adding_files_to_the_depot.html \
Changing_a_file_s_type.html \
Configuring_display_preferences.html \
Connecting_to_the_Perforce_server.html \
Defining_a_client_view.html Deleting_files.html \
Displaying_a_file_s_revision_history.html \
Displaying_client_specifications.html \
Editing_files.html Getting_more_information.html \
Getting_started_with_Perforce.html \
Integrating_files_into_codelines.html \
Managing_branch_specifications.html \
Managing_jobs.html Managing_labels.html Managing_users.html \
P4V_shortcuts.html Renaming_files.html Resolving_files.html \
Retrieving_files_from_the_depot.html The_P4V_windows.html \
Working_with_changelists.html ancillary_p4v_files.html \
diffing_files.html merging_files.html p4vindex.html
P4V_IMGS_DIR= P4VResources/p4vhelp/p4images
P4V_IMGS= p4v_file_add.png p4v_file_add_other.png p4v_file_delete.png \
p4v_file_delete_notsync.png p4v_file_delete_other.png \
p4v_file_delete_resolve.png p4v_file_deleted.png \
p4v_file_edit_head.png p4v_file_edit_notsync.png \
p4v_file_edit_other.png p4v_file_edit_other_notsyn.png \
p4v_file_edit_other_notsync.png p4v_file_edit_resolve.png \
p4v_file_edit_resolve_other_delete.png p4v_file_lock.png \
p4v_file_lock_other.png p4v_file_needs_resolve.png \
p4v_file_notmapped.png p4v_file_notsync.png \
p4v_file_rev_add.png p4v_file_rev_branch.png \
p4v_file_rev_delete.png p4v_file_rev_edit.png \
p4v_file_rev_have_add.png p4v_file_rev_have_branch.png \
p4v_file_rev_have_edit.png p4v_file_revision_integrated.png \
p4v_pin.png p4v_file_revsynced.png p4v_file_sync.png \
p4v_file_txt.png p4v_file_ws.png p4v_filter.png \
p4v_merge_screenshot.png p4v_diff_screenshot.png
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p4v ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/${P4V_DOCS_DIR} ${PREFIX}/share/${P4V_IMGS_DIR}
.for _DOCFILE in ${P4V_DOCS}
${INSTALL_MAN} ${WRKSRC}/${P4V_DOCS_DIR}/${_DOCFILE} ${PREFIX}/share/${P4V_DOCS_DIR}
.endfor
.for _IMGFILE in ${P4V_IMGS}
${INSTALL_MAN} ${WRKSRC}/${P4V_IMGS_DIR}/${_IMGFILE} ${PREFIX}/share/${P4V_IMGS_DIR}
.endfor
.endif
post-install:
${SED} -e 's!%%PREFIX%%!${PREFIX}!' ${PKGMESSAGE}
.include <bsd.port.post.mk>
|