mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix MASTER_SITES/DISTNAME
- USEPGPLOT -> WITH_PGPLOT - Support FFLAGS/X11BASE properly Remove file: files/patch-ab PR: 21608 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> Approved by: rmiya@cc.hirosaki-u.ac.jp (Ryo MIYAMOTO) MAINTAINER
This commit is contained in:
parent
0eb1022cf7
commit
4f3702a57a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33638
@ -7,32 +7,31 @@
|
||||
|
||||
PORTNAME= ortep3
|
||||
PORTVERSION= 1.0.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= biology
|
||||
#MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/
|
||||
# ftp://ftp.ornl.gov/pub/ortep/src/
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR=alex
|
||||
DISTFILES= ortep-1.0.3.tar.Z ortep-1.0.3.f
|
||||
DISTNAME= ortep
|
||||
EXTRACT_ONLY= ortep-1.0.3.tar.Z
|
||||
MASTER_SITES= ftp://ftp.ccl.net/pub/chemistry/software/SOURCES/FORTRAN/ortep/ \
|
||||
ftp://ftp.ornl.gov/pub/ortep/src/
|
||||
DISTFILES= ortep.tar.Z ortep.f
|
||||
EXTRACT_ONLY= ortep.tar.Z
|
||||
|
||||
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
|
||||
|
||||
.if defined(WITH_PGPLOT)
|
||||
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
WRKSRC= ${WRKDIR}/ortep/src
|
||||
|
||||
post-extract:
|
||||
${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0
|
||||
${CP} ${DISTDIR}/ortep-${PORTVERSION}.f ${WRKSRC}/ortep.f
|
||||
${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f
|
||||
|
||||
pre-patch:
|
||||
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKDIR}/${DISTNAME}/src/Makefile
|
||||
${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile
|
||||
.if defined(USEPGPLOT)
|
||||
cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-aa
|
||||
cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-ab
|
||||
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-aa
|
||||
.endif
|
||||
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/share/doc/ortep3
|
||||
${MKDIR} ${PREFIX}/share/doc/ortep3/examples
|
||||
@ -41,13 +40,13 @@ pre-install:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/* \
|
||||
${INSTALL_DATA} ${WRKDIR}/ortep/examples/* \
|
||||
${PREFIX}/share/doc/ortep3/examples
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/man/* \
|
||||
${INSTALL_DATA} ${WRKDIR}/ortep/man/* \
|
||||
${PREFIX}/share/doc/ortep3/man
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/000readme.txt \
|
||||
${INSTALL_DATA} ${WRKDIR}/ortep/src/000readme.txt \
|
||||
${PREFIX}/share/doc/ortep3/src
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README.1st \
|
||||
${INSTALL_DATA} ${WRKDIR}/ortep/README.1st \
|
||||
${PREFIX}/share/doc/ortep3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (ortep-1.0.3.tar.Z) = c183517406eda8854399287042dac075
|
||||
MD5 (ortep-1.0.3.f) = 9af12582aa95d9cc21f18883c2afea20
|
||||
MD5 (ortep.tar.Z) = c183517406eda8854399287042dac075
|
||||
MD5 (ortep.f) = 9af12582aa95d9cc21f18883c2afea20
|
||||
|
@ -3,7 +3,7 @@ Structure Illustrations.
|
||||
|
||||
(1) If you can use `pgplot' as screen drawing routine, type
|
||||
|
||||
% make USEPGPLOT=yes
|
||||
% make WITH_PGPLOT=yes
|
||||
|
||||
(2) If you are not familier to `pgplot', note the followings:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user