Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 17:05:02 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26228: Update port: biology/babel
Message-ID:  <200103310105.f2V152e17755@freefall.freebsd.org>

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

>Number:         26228
>Category:       ports
>Synopsis:       Update port: biology/babel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 30 17:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Support CC/CFLAGS properly
- Support install macros
- Add PORTDOCS to pkg-plist

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/biology/babel/Makefile biology/babel/Makefile
--- /usr/ports/biology/babel/Makefile	Tue Mar 13 19:08:51 2001
+++ biology/babel/Makefile	Fri Mar 30 00:22:38 2001
@@ -1,19 +1,31 @@
-# New ports collection Makefile for: babel
-# Date created:         Dec 4 1997
-# Whom:                 frankch@waru.life.nthu.edu.tw
+# New ports collection Makefile for:	babel
+# Date created:		Dec 4 1997
+# Whom:			frankch@waru.life.nthu.edu.tw
 #
 # $FreeBSD: ports/biology/babel/Makefile,v 1.8 2001/03/12 18:57:34 sf Exp $
 #
 
 PORTNAME=	babel
 PORTVERSION=	1.6
+PORTREVISION=	1
 CATEGORIES=	biology
-MASTER_SITES=	ftp://ccl.osc.edu/pub/chemistry/software/MAC/babel/
+MASTER_SITES=	http://smog.com/chem/babel/files/ \
+		http://www.ccl.net/cca/software/UNIX/babel/ \
+		ftp://ccl.osc.edu/pub/chemistry/software/UNIX/babel/
 EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ports@FreeBSD.org
 
-post-install:
-	@ ${CAT} ${PKGMESSAGE} | ${SED} -e 's:/usr/local:${PREFIX}:'
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/babel ${PREFIX}/bin
+	@${MKDIR} ${PREFIX}/share/babel
+	${INSTALL_DATA} ${WRKSRC}/*.lis ${PREFIX}/share/babel
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/babel
+	${INSTALL_DATA} ${WRKSRC}/README.1ST ${PREFIX}/share/doc/babel
+.endif
+	@${SED} -e 's:/usr/local:${PREFIX}:' ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/biology/babel/files/patch-aa biology/babel/files/patch-aa
--- /usr/ports/biology/babel/files/patch-aa	Sat Jun 26 04:23:41 1999
+++ biology/babel/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,24 +0,0 @@
---- Makefile.orig	Tue Jan 21 07:53:05 1997
-+++ Makefile	Fri Jun 25 12:17:39 1999
-@@ -1,6 +1,6 @@
--CFLAGS        = -O 
-+DEST          = ${PREFIX}/share/babel
- 
--LIBFLAGS      = -O -DLIBRARY 
-+LIBFLAGS      = -DLIBRARY 
- 
- CC	      = cc
- 
-@@ -334,7 +334,11 @@
- index:;		ctags -wx $(HDRS) $(SRCS)
- 
- install:	$(PROGRAM)
--		install -s $(PROGRAM) $(DEST)
-+		install -s $(PROGRAM) ${PREFIX}/bin/$(PROGRAM)
-+		install -d -o bin -g bin $(DEST)
-+		install -c -o bin -g bin README.1ST $(DEST)
-+		install -c -o bin -g bin element.lis new.lis $(DEST)
-+		install -c -o bin -g bin quanta.lis types.lis $(DEST)
- 
- print:;		$(PRINT) $(HDRS) $(SRCS)
- 
diff -urN /usr/ports/biology/babel/pkg-descr biology/babel/pkg-descr
--- /usr/ports/biology/babel/pkg-descr	Mon May  3 06:37:53 1999
+++ biology/babel/pkg-descr	Thu Mar 29 23:41:11 2001
@@ -3,4 +3,4 @@
 Babel is developed by Dolata Group, Department of Chemistry,
 Arizona University and Ohio State University.
 
-WWW: http://mercury.aichem.arizona.edu/babel.html
+WWW: http://smog.com/chem/babel/
diff -urN /usr/ports/biology/babel/pkg-plist biology/babel/pkg-plist
--- /usr/ports/biology/babel/pkg-plist	Mon Dec 22 06:57:37 1997
+++ biology/babel/pkg-plist	Fri Mar 30 00:06:18 2001
@@ -1,7 +1,8 @@
 bin/babel
-share/babel/README.1ST
 share/babel/element.lis
 share/babel/new.lis
 share/babel/quanta.lis
 share/babel/types.lis
+%%PORTDOCS%%share/doc/babel/README.1ST
+%%PORTDOCS%%@dirrm share/doc/babel
 @dirrm share/babel

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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