- update grappa to 2.0

- utilize PLIST_FILES
- unbreak it on 4.x
- update maintainer's email

PR:		79241
Submitted by:	David A. Bader <dbader@ece.unm.edu>
This commit is contained in:
Yen-Ming Lee 2005-04-15 18:48:57 +00:00
parent 9aaef51129
commit 5da6643360
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133447
4 changed files with 13 additions and 29 deletions

View File

@ -1,23 +1,26 @@
# New ports collection makefile for: grappa
# Date created: 30 June 2001
# Whom: dbader@eece.unm.edu
# Whom: dbader@ece.unm.edu
#
# $FreeBSD$
#
PORTNAME= grappa
PORTVERSION= 1.0.3
PORTREVISION= 1
PORTVERSION= 2.0
CATEGORIES= biology
MASTER_SITES= http://www.cs.unm.edu/~moret/
DISTNAME= GRAPPA-1.03
MASTER_SITES= http://www.cs.unm.edu/~moret/GRAPPA/
DISTNAME= GRAPPA20
MAINTAINER= dbader@eece.unm.edu
MAINTAINER= dbader@ece.unm.edu
COMMENT= Genome Rearrangements Analysis and Phylogeny Software
BUILD_DEPENDS= ${LOCALBASE}/lib/libconcorde.a:${PORTSDIR}/math/concorde
USE_GMAKE= yes
USE_REINPLACE= yes
PLIST_FILES= bin/grappa bin/invdist bin/distmat
post-patch:
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/grappa ${PREFIX}/bin

View File

@ -1,2 +1,2 @@
MD5 (GRAPPA-1.03.tar.gz) = 4bc58525d0a6ad91f3db64175d4db176
SIZE (GRAPPA-1.03.tar.gz) = 82952
MD5 (GRAPPA20.tar.gz) = 1422693550004415795b2c7872fe9649
SIZE (GRAPPA20.tar.gz) = 172261

View File

@ -1,16 +0,0 @@
--- Makefile.orig Wed Mar 14 01:21:45 2001
+++ Makefile Fri Jun 29 20:36:40 2001
@@ -19,10 +19,10 @@
ifeq ($(USE_CONCORDE),YES)
# Set CONCORDE_ROOT to the location of the compiler concorde libraries
- CONCORDE_ROOT = $(HOME)/concorde
- CONCORDE_INC = $(CONCORDE_ROOT)/INCLUDE
+ CONCORDE_ROOT = /usr/local
+ CONCORDE_INC = $(CONCORDE_ROOT)/include/concorde
CONCORDE_CFLAGS = -I$(CONCORDE_INC) -DCONCORDE
- CONCORDE_LIB = $(CONCORDE_ROOT)/concorde.a
+ CONCORDE_LIB = $(CONCORDE_ROOT)/lib/libconcorde.a
else
CONCORDE_CFLAGS =
CONCORDE_LIB =

View File

@ -1,3 +0,0 @@
bin/grappa
bin/invdist
bin/distmat