aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-10 02:32:53 +0800
committerkrion <krion@FreeBSD.org>2004-07-10 02:32:53 +0800
commitdc141d3708a748c3729f1aa1b8d65b4faa25c219 (patch)
tree17a6bde40929194ae42345c0c79e3ff41757a7e7 /science
parente94e9b36cc4801fd9876d7fb0908e3fbfeb74170 (diff)
downloadfreebsd-ports-gnome-dc141d3708a748c3729f1aa1b8d65b4faa25c219.tar.gz
freebsd-ports-gnome-dc141d3708a748c3729f1aa1b8d65b4faa25c219.tar.zst
freebsd-ports-gnome-dc141d3708a748c3729f1aa1b8d65b4faa25c219.zip
Update to version 0.84
PR: ports/68864 Submitted by: Ports Fury
Diffstat (limited to 'science')
-rw-r--r--science/gdis/Makefile9
-rw-r--r--science/gdis/distinfo4
-rw-r--r--science/gdis/files/patch-module.c10
-rw-r--r--science/gdis/pkg-plist7
4 files changed, 18 insertions, 12 deletions
diff --git a/science/gdis/Makefile b/science/gdis/Makefile
index 69647a371242..047761af55c1 100644
--- a/science/gdis/Makefile
+++ b/science/gdis/Makefile
@@ -7,12 +7,11 @@
#
PORTNAME= gdis
-PORTVERSION= 0.81
-PORTREVISION= 2
+PORTVERSION= 0.84
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-EXTRACT_SUFX= .tgz
+EXTRACT_SUFX= -source.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Display and manipulation of isolated molecules and periodic systems
@@ -25,6 +24,10 @@ USE_REINPLACE= yes
CFLAGS+= -DINSTALL=\"\\\"${DATADIR}\\\"\"
+PORTDOCS= CHANGELOG README TODO
+PLIST_FILES= bin/gdis %%DATADIR%%/gdis.elements
+PLIST_DIRS= %%DATADIR%%
+
post-patch:
@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
's|<sys/dir.h>|<dirent.h>|g ; \
diff --git a/science/gdis/distinfo b/science/gdis/distinfo
index 596573a40dc0..c7a6cb8b0787 100644
--- a/science/gdis/distinfo
+++ b/science/gdis/distinfo
@@ -1,2 +1,2 @@
-MD5 (gdis-0.81.tgz) = 454c0609f2505d334f94f2db4484d769
-SIZE (gdis-0.81.tgz) = 423390
+MD5 (gdis-0.84-source.tgz) = e72291204a78d379bbef0d997ed87752
+SIZE (gdis-0.84-source.tgz) = 656392
diff --git a/science/gdis/files/patch-module.c b/science/gdis/files/patch-module.c
new file mode 100644
index 000000000000..b47419741de7
--- /dev/null
+++ b/science/gdis/files/patch-module.c
@@ -0,0 +1,10 @@
+--- module.c.orig Tue Jun 15 16:05:21 2004
++++ module.c Mon Jul 5 05:01:06 2004
+@@ -23,6 +23,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <sys/types.h>
+ #include <gmodule.h>
+
+ #include "gdis.h"
diff --git a/science/gdis/pkg-plist b/science/gdis/pkg-plist
deleted file mode 100644
index 90dc0c63e6a8..000000000000
--- a/science/gdis/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/gdis
-%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%DATADIR%%/gdis.elements
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%