Index: biology/molden/Makefile =================================================================== --- biology/molden/Makefile (revision 484371) +++ biology/molden/Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= molden -PORTVERSION= 5.7 -PORTREVISION= 16 +DISTVERSION= 5.8.2 PORTEPOCH= 1 CATEGORIES= biology MASTER_SITES= ftp://ftp.cmbi.umcn.nl/pub/molgraph/molden/ @@ -19,7 +18,7 @@ RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable. -WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} USES= fortran gl gmake USE_XORG= x11 @@ -62,11 +61,15 @@ .for i in ambfor surf (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}/${PREFIX}/bin) .endfor - ${MKDIR} ${STAGEDIR}${DATADIR}/test - (cd ${WRKSRC}/test && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/test) + +do-install-DATA-on: + @${MKDIR} ${STAGEDIR}${DATADIR}/test + (cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/test) ${MKDIR} ${STAGEDIR}${DATADIR}/utils - (cd ${WRKSRC}/utils && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/utils) + (cd ${WRKSRC}/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils) + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: biology/molden/distinfo =================================================================== --- biology/molden/distinfo (revision 484364) +++ biology/molden/distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1526851227 -SHA256 (molden5.7.tar.gz) = 10e3c02b63e6aa277922488f48be1bbd231e5bb111fb86fa162293a6fbc9718a -SIZE (molden5.7.tar.gz) = 5346379 +TIMESTAMP = 1541594934 +SHA256 (molden5.8.2.tar.gz) = 65a24db9e80b4fb6038cc1e57c7d6e2457414812c9389bc651af7cb33f01dbe9 +SIZE (molden5.8.2.tar.gz) = 5770998 Index: biology/molden/files/patch-xwin.c =================================================================== --- biology/molden/files/patch-xwin.c (nonexistent) +++ biology/molden/files/patch-xwin.c (working copy) @@ -0,0 +1,32 @@ +--- xwin.c.orig 2018-11-07 12:54:20 UTC ++++ xwin.c +@@ -4218,8 +4218,12 @@ void makeRasterFont(Display *dpy); + #include + + #include +-#if defined(__APPLE__) || defined(__FreeBSD__) ++#if defined(__APPLE__) + #include ++#elif defined(__FreeBSD__) ++#include ++#include ++#include + #else + #include + #endif +@@ -4238,9 +4242,14 @@ int OSCopyFile(const char* source, const + } + + //Here we use kernel-space copying for performance reasons +-#if defined(__APPLE__) || defined(__FreeBSD__) ++#if defined(__APPLE__) + //fcopyfile works on FreeBSD and OS X 10.5+ + int result = fcopyfile(input, output, 0, COPYFILE_ALL); ++#elif defined(__FreeBSD__) ++ off_t bytesCopied = 0; ++ struct stat fileinfo = {0}; ++ fstat(input, &fileinfo); ++ int result = sendfile(output, input, 0/*ofset*/, fileinfo.st_size, 0/*hdtr*/, &bytesCopied, 0/*flags*/); + #else + //sendfile will work with non-socket output (i.e. regular file) on Linux 2.6.33+ + off_t bytesCopied = 0; Property changes on: biology/molden/files/patch-xwin.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property