ports/68464: devel/prcs update request

Ian D. Leroux ian_leroux at fastmail.fm
Thu Jul 1 18:51:06 UTC 2004


The following reply was made to PR ports/68464; it has been noted by GNATS.

From: "Ian D. Leroux" <ian_leroux at fastmail.fm>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: ports/68464: devel/prcs update request
Date: Thu, 1 Jul 2004 14:42:29 -0400

 Ok, here's my first shot at a patch. Explanation of changes:
 - Update PORTVERSION and PORTREVISION, and distinfo
 - Drop USE_GCC=2.95, since the port now compiles with gcc3.x
 - The previous version decided whether or not to install various emacs
   support files by checking 
   .if exists(${LOCALBASE}/bin/emacs)
   These conditionals don't seem to work properly, perhaps because
   LOCALBASE isn't defined at the time they are evaluated. In any case
   the solution seems a bit kludgy. I've completely removed that portion
   of the port pending suggestions from more experienced folk.
 
 The port builds, packages and deinstalls cleanly in my tests.
 Comments/suggestions/criticisms gratefully received.
 
 Ian Leroux
 
 
 diff -ru /usr/ports/devel/prcs/Makefile ./Makefile
 --- /usr/ports/devel/prcs/Makefile	Tue Feb 17 09:10:25 2004
 +++ ./Makefile	Thu Jul  1 13:59:54 2004
 @@ -6,8 +6,8 @@
  #
  
  PORTNAME=	prcs
 -PORTVERSION=	1.3.0
 -PORTREVISION=	1
 +PORTVERSION=	1.3.3
 +PORTREVISION=	0
  CATEGORIES=	devel
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
 @@ -18,32 +18,13 @@
  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-*
 +PLIST_FILES=	bin/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>
 diff -ru /usr/ports/devel/prcs/distinfo ./distinfo
 --- /usr/ports/devel/prcs/distinfo	Mon Jun 28 21:44:02 2004
 +++ ./distinfo	Wed Jun 30 19:36:47 2004
 @@ -1,2 +1,2 @@
 -MD5 (prcs-1.3.0.tar.gz) = 1b81acce7da7121bf9095d610ff67366
 -SIZE (prcs-1.3.0.tar.gz) = 829632
 +MD5 (prcs-1.3.3.tar.gz) = 057a0e243828104d0e672ec1cbf3fea0
 +SIZE (prcs-1.3.3.tar.gz) = 907482



More information about the freebsd-ports-bugs mailing list