From owner-svn-ports-all@freebsd.org Mon Dec 17 02:58:25 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85D551349034; Mon, 17 Dec 2018 02:58:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2755376C9A; Mon, 17 Dec 2018 02:58:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CF5E48BE7; Mon, 17 Dec 2018 02:58:24 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBH2wOb8010243; Mon, 17 Dec 2018 02:58:24 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBH2wNGE010239; Mon, 17 Dec 2018 02:58:23 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201812170258.wBH2wNGE010239@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 17 Dec 2018 02:58:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487648 - in head/science: . drawxtl drawxtl/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . drawxtl drawxtl/files X-SVN-Commit-Revision: 487648 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2755376C9A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.84 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-0.88)[-0.881,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2018 02:58:25 -0000 Author: yuri Date: Mon Dec 17 02:58:23 2018 New Revision: 487648 URL: https://svnweb.freebsd.org/changeset/ports/487648 Log: New port: science/drawxtl: Crystal structure visualization tool Added: head/science/drawxtl/ head/science/drawxtl/Makefile (contents, props changed) head/science/drawxtl/distinfo (contents, props changed) head/science/drawxtl/files/ head/science/drawxtl/files/patch-Makefile (contents, props changed) head/science/drawxtl/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Mon Dec 17 02:45:39 2018 (r487647) +++ head/science/Makefile Mon Dec 17 02:58:23 2018 (r487648) @@ -65,6 +65,7 @@ SUBDIR += dkh SUBDIR += dlib-cpp SUBDIR += dlpoly-classic + SUBDIR += drawxtl SUBDIR += eccodes SUBDIR += elk SUBDIR += epte Added: head/science/drawxtl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/drawxtl/Makefile Mon Dec 17 02:58:23 2018 (r487648) @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= DRAWxtl +DISTVERSION= 5.5 +CATEGORIES= science +MASTER_SITES= https://www.lwfinger.com/drawxtl/ +DISTNAME= ${PORTNAME}${DISTVERSION:S/.//} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Crystal structure visualization tool + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfltk.so:x11-toolkits/fltk + +USES= desktop-file-utils gl gmake localbase +USE_GL= gl glu +USE_XORG= xinerama xft xext x11 xpm + +BINARY_ALIAS= gcc=${CC} g++=${CXX} + +WRKSRC= ${WRKDIR}/${PORTNAME}/source/${DISTNAME} + +PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.xpm + +DESKTOP_ENTRIES="${PORTNAME}" \ + "${COMMENT}" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \ + "${PORTNAME}" \ + "Chemistry;Physics;Science;Education;Viewer;" \ + "" +POST_PLIST= complete-desktop-entries + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/../../exe/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps + +complete-desktop-entries: + @${ECHO} "MimeType=chemical/x-cif;chemical/x-shelx;" >> ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}.desktop + +.include Added: head/science/drawxtl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/drawxtl/distinfo Mon Dec 17 02:58:23 2018 (r487648) @@ -0,0 +1,3 @@ +TIMESTAMP = 1545010903 +SHA256 (DRAWxtl55.tar.gz) = e33bddb99f349d02f2c889ab04116285daf2ee026c2a33e8129866ffc6eb5da4 +SIZE (DRAWxtl55.tar.gz) = 4014223 Added: head/science/drawxtl/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/drawxtl/files/patch-Makefile Mon Dec 17 02:58:23 2018 (r487648) @@ -0,0 +1,34 @@ +--- Makefile.orig 2011-03-08 18:55:26 UTC ++++ Makefile +@@ -38,7 +38,7 @@ ifeq ($(OS),Linux) + + BUILD_CPU=$(shell uname -m) + ifneq (,$(findstring 64,$(BUILD_CPU))) +- libdir = /usr/lib64/ ++ libdir = ${prefix}/lib/ + endif + + # compiler name: +@@ -52,11 +52,11 @@ ifeq ($(OS),Linux) + CXXFLAGS = $(OPTIM) -I/usr/X11R6/include $(GLUT) + + # libraries to link with: +- GLDLIBS = -L/usr/X11R6/lib -lGLU -lGL -lXinerama -lXft -lpthread -lm -lXext -lX11 -lXpm \ ++ GLDLIBS = -L$(prefix)/lib -lGLU -lGL -lXinerama -lXft -lpthread -lm -lXext -lX11 -lXpm \ + -lfltk \ + # -lglut # only needed with old versions of fltk before 1.1.8 + # -lXi -lgdkglext-x11-1.0a # Fedora Core 2 needs these libraries +- LINKFLTKGL = $(libdir)libfltk.a $(libdir)libfltk_gl.a ++ LINKFLTKGL = $(libdir)libfltk.so $(libdir)libfltk_gl.so + + # The extension to use for executables... + EXEEXT = +@@ -216,7 +216,7 @@ clean: + .deps: $(CPPFILES) + echo "Building dependencies..." + echo >.deps +- for i in $(CPPFILES); do gcc -MM $(PREINC) $$i >>.deps; done ++ for i in $(CPPFILES); do gcc $(CFLAGS) -MM $(PREINC) $$i >>.deps; done + + -include .deps + Added: head/science/drawxtl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/drawxtl/pkg-descr Mon Dec 17 02:58:23 2018 (r487648) @@ -0,0 +1,10 @@ +DRAWxtl is a program to display crystal structures on ordinary computer hardware +and operating systems. Four forms of graphics are produced: +(1) an openGL window for immediate viewing, +(2) the Persistence of Vision Ray Tracer (POV-RAY) scene language for + publication-quality drawings, (3) the Virtual Reality Modeling Language + (VRML) for dissemination across the Internet, and +(4) a Postscript rendering of the OpenGL window for those that want high-quality + output but do not have POV-RAY installed. + +WWW: http://www.lwfinger.net/drawxtl/