aboutsummaryrefslogtreecommitdiff
path: root/biology/xmolwt
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /biology/xmolwt
parentd0cdca8bc326260560504ebb5d4b206942ca5125 (diff)
downloadports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.tar.gz
ports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.zip
Notes
Diffstat (limited to 'biology/xmolwt')
-rw-r--r--biology/xmolwt/Makefile8
-rw-r--r--biology/xmolwt/files/patch-aa36
2 files changed, 17 insertions, 27 deletions
diff --git a/biology/xmolwt/Makefile b/biology/xmolwt/Makefile
index 10eee7611305..3b27381ba7d0 100644
--- a/biology/xmolwt/Makefile
+++ b/biology/xmolwt/Makefile
@@ -11,15 +11,11 @@ MASTER_SITES= http://www.st.hirosaki-u.ac.jp/~rmiya/xmolwt/
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
WRKSRC= ${WRKDIR}/${DISTNAME}
+MAKEFILE= Makefile.gtk
USE_GMAKE= yes
-MAKEFILE= Makefile.gtk
-MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+USE_GTK= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${PREFIX}/bin
diff --git a/biology/xmolwt/files/patch-aa b/biology/xmolwt/files/patch-aa
index 5c212be43bf7..3fb0ba1392eb 100644
--- a/biology/xmolwt/files/patch-aa
+++ b/biology/xmolwt/files/patch-aa
@@ -1,21 +1,15 @@
-*** Makefile.gtk.orig Sat Aug 28 19:46:47 1999
---- Makefile.gtk Sat Jul 1 15:49:31 2000
-***************
-*** 1,7 ****
-! CC = gcc
-! CFLAGS = -DGTK
-! GTKCONFIG = gtk12-config
- OBJS = molwt.o usage.o element.o reduce.o count.o calculate.o initwidget.o allowcase.o inputformula.o addtolist.o
-
- molwt: gmolwt
- ln -s gmolwt molwt
---- 1,9 ----
-! CC ?= gcc
-! CFLAGS += -DGTK
-! GTKCONFIG = $(GTK_CONFIG)
- OBJS = molwt.o usage.o element.o reduce.o count.o calculate.o initwidget.o allowcase.o inputformula.o addtolist.o
-+
-+ all: gmolwt
-
- molwt: gmolwt
- ln -s gmolwt molwt
+--- Makefile.gtk.orig Sat Aug 28 03:46:47 1999
++++ Makefile.gtk Sun Sep 24 00:20:45 2000
+@@ -1,7 +1,9 @@
+-CC = gcc
+-CFLAGS = -DGTK
+-GTKCONFIG = gtk12-config
++CC ?= gcc
++CFLAGS += -DGTK
++GTKCONFIG = $(GTK_CONFIG)
+ OBJS = molwt.o usage.o element.o reduce.o count.o calculate.o initwidget.o allowcase.o inputformula.o addtolist.o
++
++all: gmolwt
+
+ molwt: gmolwt
+ ln -s gmolwt molwt