Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2000 23:40:45 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/18426: new port:  misc/xdrawchem
Message-ID:  <Pine.BSI.4.21.0005062337270.11679-100000@blues.jpj.net>

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

>Number:         18426
>Category:       ports
>Synopsis:       new port:  misc/xdrawchem
>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:   Sun May 07 01:10:19 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Trevor Johnson
>Release:        5.0-CURRENT i386
>Organization:
myself
>Environment:

only tested on 5.0-CURRENT i386 Thu Mar 30 10:48:36 UTC 2000

>Description:

a program for drawing molecules

>How-To-Repeat:
N/A
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xdrawchem
#	xdrawchem/files
#	xdrawchem/files/md5
#	xdrawchem/patches
#	xdrawchem/patches/patch-aa
#	xdrawchem/pkg
#	xdrawchem/pkg/COMMENT
#	xdrawchem/pkg/DESCR
#	xdrawchem/pkg/PLIST
#	xdrawchem/Makefile
#
echo c - xdrawchem
mkdir -p xdrawchem > /dev/null 2>&1
echo c - xdrawchem/files
mkdir -p xdrawchem/files > /dev/null 2>&1
echo x - xdrawchem/files/md5
sed 's/^X//' >xdrawchem/files/md5 << 'END-of-xdrawchem/files/md5'
XMD5 (xdrawchem.tgz) = abda33e61e9621b79349c59f80fb15c3
END-of-xdrawchem/files/md5
echo c - xdrawchem/patches
mkdir -p xdrawchem/patches > /dev/null 2>&1
echo x - xdrawchem/patches/patch-aa
sed 's/^X//' >xdrawchem/patches/patch-aa << 'END-of-xdrawchem/patches/patch-aa'
X--- Makefile.orig	Fri Mar 31 03:05:27 2000
X+++ Makefile	Sun Apr 16 12:57:25 2000
X@@ -13,10 +13,10 @@
X CFLAGS	=	-g -DRINGHOME=$(RINGDIR)
X #INCPATH =	-I/usr/include -I/usr/people/herger/src/qt-2.0.2/include
X #LFLAGS	=	-L/usr/src/qt-2.0.2/lib -L/usr/lib
X-INCPATH =	-I/usr/include -I$(QTDIR)/include
X-LFLAGS	=	-g -L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
X-LIBS	=	-lqt -lXext -lX11 -lm
X-MOC	=	moc
X+INCPATH =	-I/usr/include -I$(QTDIR)/include/qt2
X+LFLAGS	=	-L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
X+LIBS	=	-lqt2 -lXext -lX11 -lm
X+MOC	=	moc2
X 
X ####### Target
X 
X@@ -157,3 +157,7 @@
X 
X moc_manual.cpp: manual.h
X 	$(MOC) manual.h -o moc_manual.cpp
X+
X+install:
X+	strip -s xdrawchem
X+	install -c -m 755 -o root -g wheel xdrawchem $(X11BASE)/bin/
END-of-xdrawchem/patches/patch-aa
echo c - xdrawchem/pkg
mkdir -p xdrawchem/pkg > /dev/null 2>&1
echo x - xdrawchem/pkg/COMMENT
sed 's/^X//' >xdrawchem/pkg/COMMENT << 'END-of-xdrawchem/pkg/COMMENT'
XChemical drawing program
END-of-xdrawchem/pkg/COMMENT
echo x - xdrawchem/pkg/DESCR
sed 's/^X//' >xdrawchem/pkg/DESCR << 'END-of-xdrawchem/pkg/DESCR'
Xfrom the Web page:
X
XXDrawChem is a two-dimensional molecule drawing program.
XIt can read and write MDL Molfiles to allow sharing between XDrawChem
Xand other chemistry applications.
X
XWWW:  http://www.prism.gatech.edu/~gte067k/xdrawchem/
X
XTrevor Johnson
Xtrevor@jpj.net
END-of-xdrawchem/pkg/DESCR
echo x - xdrawchem/pkg/PLIST
sed 's/^X//' >xdrawchem/pkg/PLIST << 'END-of-xdrawchem/pkg/PLIST'
Xbin/xdrawchem
END-of-xdrawchem/pkg/PLIST
echo x - xdrawchem/Makefile
sed 's/^X//' >xdrawchem/Makefile << 'END-of-xdrawchem/Makefile'
X# New ports collection makefile for:   xdrawchem
X# Date created:        13 April 2000
X# Whom:                Trevor Johnson <trevor@jpj.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xdrawchem
XPORTVERSION=	0.82
XCATEGORIES=	misc
XMASTER_SITES=	http://www.prism.gatech.edu/~gte067k/xdrawchem/
XDISTFILES=	xdrawchem.tgz
X
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	trevor@jpj.net
X
X# requires qt 2.01 or greater, so don't use USE_QT
XLIB_DEPENDS=	qt2:${PORTSDIR}/x11-toolkits/qt21
X
XUSE_X_PREFIX=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XMAKE_ENV+=	QTDIR=${X11BASE}
XUSE_GMAKE=	yes
X
X.include <bsd.port.mk>
END-of-xdrawchem/Makefile
exit



>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?Pine.BSI.4.21.0005062337270.11679-100000>