summaryrefslogtreecommitdiffstats
path: root/biology/xmolwt
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerreg <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commit97830337b8c0333a12d15a49ea1f9c9cdc3dfddf (patch)
treea059ae14b97a6e427c4c5a801e98bb245e73742e /biology/xmolwt
parent38d35e3db9111f42b79313f05731c75e6e55d7e8 (diff)
downloadFreeBSD-ports-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.zip
FreeBSD-ports-97830337b8c0333a12d15a49ea1f9c9cdc3dfddf.tar.gz
Implement USE_GTK, part 1.
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 10eee76..3b27381 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 5c212be..3fb0ba1 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
OpenPOWER on IntegriCloud