From owner-freebsd-ports Fri Apr 13 18:21:16 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7697C37B617 for ; Fri, 13 Apr 2001 18:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3E1K2I34618; Fri, 13 Apr 2001 18:20:02 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8C26737B50D for ; Fri, 13 Apr 2001 18:17:40 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3E1Hee34406; Fri, 13 Apr 2001 18:17:40 -0700 (PDT) (envelope-from nobody) Message-Id: <200104140117.f3E1Hee34406@freefall.freebsd.org> Date: Fri, 13 Apr 2001 18:17:40 -0700 (PDT) From: tkato@prontomail.ne.jp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/26557: Update port: science/chemtool Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26557 >Category: ports >Synopsis: Update port: science/chemtool >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 Apr 13 18:20:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.2-RELEASE i386 >Organization: >Environment: >Description: - Support CC/CFLAGS/MAKE properly - Support install macros - Fix install error New file: files/patch-src-cht::Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/science/chemtool/files/patch-Makefile science/chemtool/files/patch-Makefile --- /usr/ports/science/chemtool/files/patch-Makefile Sat Mar 31 04:23:00 2001 +++ science/chemtool/files/patch-Makefile Sat Apr 14 02:35:09 2001 @@ -1,5 +1,5 @@ ---- Makefile.orig Wed Feb 7 02:52:54 2001 -+++ Makefile Sat Mar 31 03:10:38 2001 +--- Makefile.orig Wed Feb 7 03:52:54 2001 ++++ Makefile Sat Apr 14 02:34:58 2001 @@ -1,7 +1,4 @@ -PREFIX=/usr/local -LOCALEDIR=/usr/share/locale @@ -20,3 +20,22 @@ all: chemtool cht +@@ -20,14 +17,14 @@ + ${CC} ${OBJS} ${SYS_LIBRARIES} -o chemtool + + cht: src-cht/cht-1.3.c +- cd src-cht;make ++ cd src-cht;${MAKE} + .c.o: + ${CC} ${CFLAGS} ${EXTRA_INCLUDES} -c ${SRCS} + + install: chemtool src-cht/cht +- ${CP} chemtool src-cht/cht ${PREFIX}/bin +- ${CP} chemtool.1 ${PREFIX}/man/man1 +- for L in `ls locales`; do ${CP} locales/$$L/chemtool.mo ${LOCALEDIR}/$$L/LC_MESSAGES;done ++ ${BSD_INSTALL_PROGRAM} chemtool src-cht/cht ${PREFIX}/bin ++ ${BSD_INSTALL_MAN} chemtool.1 ${PREFIX}/man/man1 ++ for L in `ls locales`; do mkdir -p ${LOCALEDIR}/$$L/LC_MESSAGES; ${BSD_INSTALL_DATA} locales/$$L/chemtool.mo ${LOCALEDIR}/$$L/LC_MESSAGES;done + + clean: + ${RM} *.o *~ src-cht/*.o src-cht/*~ chemtool src-cht/cht diff -urN /usr/ports/science/chemtool/files/patch-src-cht::Makefile science/chemtool/files/patch-src-cht::Makefile --- /usr/ports/science/chemtool/files/patch-src-cht::Makefile Thu Jan 1 09:00:00 1970 +++ science/chemtool/files/patch-src-cht::Makefile Sat Apr 14 02:15:27 2001 @@ -0,0 +1,8 @@ +--- src-cht/Makefile.orig Wed Feb 7 03:38:54 2001 ++++ src-cht/Makefile Sat Apr 14 02:13:38 2001 +@@ -1,4 +1,4 @@ + default: cht + + cht: cht-1.3.c +- gcc -O cht-1.3.c -lm -o cht ++ ${CC} ${CFLAGS} cht-1.3.c -lm -o cht >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message