blob: 41dede2e757872a127f95b0763c673302958866a (
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
|
# New ports collection makefile for: prcs
# Date created: 17 Sep 96
# Whom: jmacd@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= prcs
PORTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= The Project Revision Control System
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GCC= 2.95
MAN1= prcs.1
INFO= prcs
PLIST_FILES= bin/prcs bin/prcs-callback bin/prcs-ediff bin/prcs-emerge
.if exists(${LOCALBASE}/bin/emacs)
PLIST_FILES+= share/emacs/site-lisp/prcs.el \
share/emacs/site-lisp/prcs.elc \
share/emacs/site-lisp/prcs-ediff.el \
share/emacs/site-lisp/prcs-ediff.elc \
share/emacs/site-lisp/prcs-hooks.el \
share/emacs/site-lisp/prcs-hooks.elc
.endif
post-patch:
${REINPLACE_CMD} -Ee 's,#!/usr/local/bin/perl5?,#!${PERL},g' \
${WRKSRC}/contrib/prcs-*
pre-configure:
.if !exists(${LOCALBASE}/bin/emacs)
${REINPLACE_CMD} -Ee "s@^(SUBDIRS = .*) emacs (.*)@\1 \2@" \
${WRKSRC}/Makefile.in
.endif
post-install:
install-info ${PREFIX}/info/${INFO}.info ${PREFIX}/info/dir
.include <bsd.port.mk>
|