mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
upgrade to 1.3.1
drop maintainership
This commit is contained in:
parent
a4751df979
commit
240a6fffbc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47641
@ -6,11 +6,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= chemtool
|
||||
PORTVERSION= 1.3
|
||||
PORTVERSION= 1.3.1
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= http://www.uni-ulm.de/~s_tvolk/chemtool/src/
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= transfig:${PORTSDIR}/print/transfig
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (chemtool-1.3.tar.gz) = bc66cf300fb12e6b308c0c3ef33c8491
|
||||
MD5 (chemtool-1.3.1.tar.gz) = 1b61a19a9757292b9b9a827b798f0320
|
||||
|
@ -1,41 +1,21 @@
|
||||
--- Makefile.orig Wed Feb 7 03:52:54 2001
|
||||
+++ Makefile Sat Apr 14 02:34:58 2001
|
||||
@@ -1,7 +1,4 @@
|
||||
--- Makefile.orig Tue Sep 11 15:38:42 2001
|
||||
+++ Makefile Tue Sep 11 15:39:52 2001
|
||||
@@ -1,7 +1,5 @@
|
||||
-PREFIX=/usr/local
|
||||
-LOCALEDIR=/usr/share/locale
|
||||
-CFLAGS=-O2 -Wall
|
||||
-CFLAGS=-O2 -Wall `gtk-config --cflags` # -DDISABLE_NLS
|
||||
-CC=gcc
|
||||
+LOCALEDIR=${PREFIX}/share/locale
|
||||
+CFLAGS+=`${GTK_CONFIG} --cflags` # -DDISABLE_NLS
|
||||
CP=/bin/cp
|
||||
RM=/bin/rm -f
|
||||
|
||||
@@ -9,8 +6,8 @@
|
||||
@@ -9,7 +7,7 @@
|
||||
OBJS = main.o chemproc.o graph.o draw.o inout.o
|
||||
|
||||
|
||||
-EXTRA_INCLUDES = `gtk-config --cflags` # -DDISABLE_NLS
|
||||
-SYS_LIBRARIES = `gtk-config --libs` -lm
|
||||
+EXTRA_INCLUDES = `${GTK_CONFIG} --cflags` # -DDISABLE_NLS
|
||||
+SYS_LIBRARIES = `${GTK_CONFIG} --libs` -lm
|
||||
|
||||
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
|
||||
|
@ -3,6 +3,6 @@
|
||||
@@ -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
|
||||
cht: cht-1.7.c
|
||||
- gcc -O cht-1.7.c -lm -o cht
|
||||
+ ${CC} ${CFLAGS} cht-1.7.c -lm -o cht
|
||||
|
@ -2,3 +2,4 @@ bin/chemtool
|
||||
bin/cht
|
||||
share/locale/cs/LC_MESSAGES/chemtool.mo
|
||||
share/locale/de/LC_MESSAGES/chemtool.mo
|
||||
share/locale/ru/LC_MESSAGES/chemtool.mo
|
||||
|
Loading…
Reference in New Issue
Block a user