freebsd-ports/devel/p4v/Makefile
Joe Marcus Clarke 6bc7d2980c Just for correctness' sake, these ports actually link to libc_r.so.4,
so adjust the dependency slightly.

Approved by:	portmgr (implicit)
2004-10-04 07:28:28 +00:00

89 lines
3.0 KiB
Makefile

# 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>