Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 19:52:13 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174748: biology/boinc-simap: update project URLs, use optionsNG
Message-ID:  <201212271952.qBRJqDVX000402@red.freebsd.org>
Resent-Message-ID: <201212272000.qBRK00Pq046412@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174748
>Category:       ports
>Synopsis:       biology/boinc-simap: update project URLs, use optionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 20:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 9.1-i386
>Organization:
>Environment:
FreeBSD 9.1-RELEASE r243826 i386
ports r309532
>Description:
- update project URLs to boincsimap.org/boincsimap
- update commands in pkg-install.in
- use optionsNG
- improve %%AMD64%% comment handling
- convert Makefile header
- remove unused variable SIMAP_URL
- bump PORTREVISION

>How-To-Repeat:
install the project and fix URLs afterwards...
>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 309542)
+++ Makefile	(working copy)
@@ -1,12 +1,10 @@
-# New ports collection makefile for:	boinc-simap
-# Date created:				29 May 2006
-# Whom:					Pav Lucistnik <pav@FreeBSD.org>
+# Created by: Pav Lucistnik <pav@FreeBSD.org>
 # $FreeBSD$
 #
 
 PORTNAME=	boinc-simap
 PORTVERSION=	${SIMAP_VERSION}.${HMMER_VERSION}
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	biology
 MASTER_SITES=	http://boincsimap.org/boincsimap/download/
 DISTNAME=	${SIMAP_BINARY} ${HMMER_BINARY}
@@ -26,8 +24,7 @@
 BOINC_CLIENT_GROUP?=	nobody
 BOINC_CLIENT_HOME?=	/var/db/boinc
 
-SIMAP_SITE=	boinc.bio.wzw.tum.de_boincsimap
-SIMAP_URL=	boinc.bio.wzw.tum.de/boincsimap
+SIMAP_SITE=	boincsimap.org_boincsimap
 SIMAP_BINARY=	simap_${SIMAP_VERSION}_${MACH}-pc-freebsd
 SIMAP_VERSION=	5.10
 HMMER_BINARY=	hmmer_${HMMER_VERSION}_${MACH}-pc-freebsd
@@ -38,11 +35,11 @@
 
 ONLY_FOR_ARCHS=	i386 amd64
 
-OPTIONS=	SSE "SSE optimized app (warning! your CPU must support SSE)" off
+OPTIONS_DEFINE=	SSE
 
 .include <bsd.port.pre.mk>
 
-.ifdef WITH_SSE
+.if ${PORT_OPTIONS:MSSE}
 MACH=		i686
 .else
 MACH=		i386
@@ -52,15 +49,15 @@
 AMD64=		""
 .if ${OSVERSION} < 800000
 AMD64_BEFORE_8000000=		""
-AMD64_AFTER_8000000=		"@comment"
+AMD64_AFTER_8000000=		"@comment "
 .else
-AMD64_BEFORE_8000000=		"@comment"
+AMD64_BEFORE_8000000=		"@comment "
 AMD64_AFTER_8000000=		""
 .endif
 .else
-AMD64=		"@comment"
-AMD64_BEFORE_8000000=		"@comment"
-AMD64_AFTER_8000000=		"@comment"
+AMD64=		"@comment "
+AMD64_BEFORE_8000000=		"@comment "
+AMD64_AFTER_8000000=		"@comment "
 .endif
 
 SUB_FILES=	app_info.xml pkg-message
Index: files/pkg-message.in
===================================================================
--- files/pkg-message.in	(revision 309542)
+++ files/pkg-message.in	(working copy)
@@ -1,18 +1,18 @@
 *****************************************************************************
 ATTACHING PROJECT
 
-Just run boinc_gui, choose Attach, and follow instructions.
-Project URL is boinc.bio.wzw.tum.de/boincsimap
+Just run boincmgr, choose Attach, and follow instructions.
+Project URL is boincsimap.org/boincsimap
 
 MANUAL INSTALLATION
  *) If this is your first time in any BOINC project, create a new account at
-    http://boinc.bio.wzw.tum.de/boincsimap/create_account_form.php
+    http://boincsimap.org/boincsimap/create_account_form.php
 
- *) Or get your account key at http://boinc.bio.wzw.tum.de/boincsimap/get_passwd.php
+ *) Or get your account key at http://boincsimap.org/boincsimap/get_passwd.php
 
  *) Attach to the project:
     cd /var/db/boinc
-    boinc_cmd --project_attach boinc.bio.wzw.tum.de/boincsimap <account key>
+    boinccmd --project_attach boincsimap.org/boincsimap <account key>
 *****************************************************************************
 %%AMD64%%  IMPORTANT NOTICE FOR AMD64 USERS:
 %%AMD64%%


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212271952.qBRJqDVX000402>