mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Update to version 1.0.3
PR: 19094 Submitted by: maintainer While I'm hear, clean up the port, e.g.: * Don't create/delete PATCHDIR while building this port * put the distfile, which is unversioned, to my local-distfiles space. * remove/reorder some actions, such as stripping twice. Reviewed by: will
This commit is contained in:
parent
c98f21a742
commit
9ce1c4c8ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29520
@ -6,47 +6,46 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= ortep3
|
PORTNAME= ortep3
|
||||||
PORTVERSION= 1.0
|
PORTVERSION= 1.0.3
|
||||||
CATEGORIES= biology
|
CATEGORIES= biology
|
||||||
MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/
|
#MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/
|
||||||
|
# ftp://ftp.ornl.gov/pub/ortep/src/
|
||||||
|
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/alex/
|
||||||
|
DISTFILES= ortep-1.0.3.tar.Z ortep-1.0.3.f
|
||||||
DISTNAME= ortep
|
DISTNAME= ortep
|
||||||
EXTRACT_SUFX= .tar.Z
|
EXTRACT_ONLY= ortep.tar.Z
|
||||||
|
|
||||||
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
|
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
|
||||||
|
|
||||||
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
.if ${OSVERSION} >= 400002
|
|
||||||
|
.if ${OSVERSION} >= 400002 && ${OSVERSION} < 400018
|
||||||
BROKEN= doesn\'t build with new f77 compiler
|
BROKEN= doesn\'t build with new f77 compiler
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-extract:
|
||||||
|
${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0
|
||||||
|
${CP} ${DISTDIR}/ortep-${PORTVERSION}.f ${WRKSRC}/ortep.f
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKDIR}/${DISTNAME}/src/Makefile
|
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKDIR}/${DISTNAME}/src/Makefile
|
||||||
.if defined(USEPGPLOT)
|
.if defined(USEPGPLOT)
|
||||||
${CP} ${FILESDIR}/patch-aa ${PATCHDIR}/
|
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/patch-aa
|
||||||
${CP} ${FILESDIR}/patch-ab ${PATCHDIR}/
|
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/patch-ab
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
|
||||||
.if defined(USEPGPLOT)
|
|
||||||
${RM} ${PATCHDIR}/patch-aa
|
|
||||||
${RM} ${PATCHDIR}/patch-ab
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-build:
|
|
||||||
(cd ${WRKDIR}/${DISTNAME}/src && ${MAKE} all)
|
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
strip ${WRKDIR}/${DISTNAME}/src/ortep3
|
|
||||||
${RM} -rf ${PREFIX}/share/doc/ortep3
|
|
||||||
${MKDIR} ${PREFIX}/share/doc/ortep3
|
${MKDIR} ${PREFIX}/share/doc/ortep3
|
||||||
${MKDIR} ${PREFIX}/share/doc/ortep3/examples
|
${MKDIR} ${PREFIX}/share/doc/ortep3/examples
|
||||||
${MKDIR} ${PREFIX}/share/doc/ortep3/man
|
${MKDIR} ${PREFIX}/share/doc/ortep3/man
|
||||||
${MKDIR} ${PREFIX}/share/doc/ortep3/src
|
${MKDIR} ${PREFIX}/share/doc/ortep3/src
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/src/ortep3 ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
|
||||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/* \
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/* \
|
||||||
${PREFIX}/share/doc/ortep3/examples
|
${PREFIX}/share/doc/ortep3/examples
|
||||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/man/* \
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/man/* \
|
||||||
|
@ -1 +1,2 @@
|
|||||||
MD5 (ortep.tar.Z) = c183517406eda8854399287042dac075
|
MD5 (ortep-1.0.3.tar.Z) = c183517406eda8854399287042dac075
|
||||||
|
MD5 (ortep-1.0.3.f) = 9af12582aa95d9cc21f18883c2afea20
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*** src/ortep.f Tue Apr 2 01:34:17 1996
|
*** ortep.f Tue Apr 2 01:34:17 1996
|
||||||
--- src/ortep.f.pgplot Sat May 8 20:35:22 1999
|
--- ortep.f.pgplot Sat May 8 20:35:22 1999
|
||||||
***************
|
***************
|
||||||
*** 5342,5366 ****
|
*** 5342,5366 ****
|
||||||
c *** DUMMY SCREEN OUTPUT (MAY BE REPLACED WITH SCREEN DRIVER CODE)
|
c *** DUMMY SCREEN OUTPUT (MAY BE REPLACED WITH SCREEN DRIVER CODE)
|
||||||
|
@ -11,7 +11,7 @@ Structure Illustrations.
|
|||||||
run pgdisp server and setenv PGPLOT_DEV as
|
run pgdisp server and setenv PGPLOT_DEV as
|
||||||
|
|
||||||
% pgdisp &
|
% pgdisp &
|
||||||
% setenv PGPLOT_DEV /xdisp
|
% setenv PGPLOT_DEV /xwindow
|
||||||
|
|
||||||
then you can see the ortep-drawing on a pgplot window.
|
then you can see the ortep-drawing on a pgplot window.
|
||||||
|
|
||||||
@ -19,5 +19,4 @@ Examples and documentation or on the web site.
|
|||||||
|
|
||||||
WWW: http://www.ornl.gov/ortep/ortep.html
|
WWW: http://www.ornl.gov/ortep/ortep.html
|
||||||
|
|
||||||
--
|
- Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
|
||||||
rmiya
|
|
||||||
|
Loading…
Reference in New Issue
Block a user