ports/180611: [patch] update cad/feappv

Anton Shterenlikht mexas at bris.ac.uk
Wed Jul 17 16:10:01 UTC 2013


>Number:         180611
>Category:       ports
>Synopsis:       [patch] update cad/feappv
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 17 16:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 10.0-CURRENT ia64
>Organization:
University of Bristol 
>Environment:
System: FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r252055: Fri Jun 21 15:57:18 BST 2013 root at mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64


	
>Description:

- updated the port to the latest version
- updated the Makefile header
- updated pkg-descr

Two issues:

1. for some reason the file permissions after
applying the svn patch are 600. I don't know how
to fix this. If you know I'll provide an updated
patch, of if it's easy to fix, maybe you can fix it.

2. The port installs a library: /usr/local/lib/libfeappv.a.
The library name has changed in this version.
I'm not sure which other ports might depend on this library.
Perhaps a note should be made to ports/UPDATING that
any users of this library should relink and better
recompile/relink their codes.

	
>How-To-Repeat:
	
>Fix:

	

--- feappv.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 323141)
+++ Makefile	(working copy)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	FEAPpv
-# Date created:		29 Feb 2006
-# Whom:			Pedro F. Giffuni
-#
+# Created by: Pedro F. Giffuni
 # $FreeBSD$
-#
 
 PORTNAME=	feappv
 PORTVERSION=	3.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	cad science
 MASTER_SITES=	http://www.ce.berkeley.edu/projects/feap/feappv/
 DISTFILES=	${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX} ${PDF_MANUAL}
@@ -34,7 +30,7 @@
 LDFLAGS+=	-L${LOCALBASE}/lib -lX11 -lm
 
 PORTDOCS=	*
-PLIST_FILES=	bin/feappv lib/Feappv_gnu.a
+PLIST_FILES=	bin/feappv lib/libfeappv.a
 
 .include <bsd.port.options.mk>
 
@@ -44,7 +40,7 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's| make | $$(MAKE) |' ${WRKSRC}/makefile
+		's| make | $${MAKE} |' ${WRKSRC}/makefile
 	@${REINPLACE_CMD} -e \
 		'/^FF /s|=.*|= ${FC}| ; \
 		 /^CC /s|=.*|= ${CC}| ; \
@@ -55,10 +51,10 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/Feappv_gnu.a ${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${PREFIX}/lib
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR}
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PDF_MANUAL} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 323141)
+++ distinfo	(working copy)
@@ -1,4 +1,4 @@
-SHA256 (feappv31/feappv31.zip) = cfd38f80c27d8010db1d270e13846e9b68d84bf77ee71659278b2b207b4b71e5
-SIZE (feappv31/feappv31.zip) = 613363
+SHA256 (feappv31/feappv31.zip) = 79d07c3ad81a22401a5ba78a518cb3553e335ef7fdf717f908d18b991e5e91f0
+SIZE (feappv31/feappv31.zip) = 614372
 SHA256 (feappv31/manual.pdf) = f3c6d5ac9c310852dfcde0c74c22df7388fcc6230e30630f70d591c50fd93832
 SIZE (feappv31/manual.pdf) = 649124
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 323141)
+++ pkg-descr	(working copy)
@@ -8,6 +8,6 @@
 FEAPpv is designed to be compatible for compilation in UNIX/LINUX and 
 Windows PC environments.
 
-WWW:  http://www.ce.berkeley.edu/projects/feap/feappv/
+No support on use of the program will be provided.
 
-No support on use of the program will be provided.
+WWW: http://www.ce.berkeley.edu/projects/feap/feappv/
--- feappv.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list