mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
o update to 3.7.
differences from the PR: - this port requires Xlib so add USE_XLIB. - remove unnecessary PORTREVISION. PR: 34196 Submitted by: maintainer
This commit is contained in:
parent
946f0b4771
commit
8ea66910b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53656
@ -6,22 +6,20 @@
|
||||
#
|
||||
|
||||
PORTNAME= molden
|
||||
PORTVERSION= 3.6
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 3.7
|
||||
CATEGORIES= biology
|
||||
MASTER_SITES= ftp://ftp.cmbi.kun.nl/pub/molgraph/molden/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
EXTRACT_SUFX= .tar.Z
|
||||
EXTRACT_ONLY= ${PORTNAME}${PORTVERSION}.tar.Z
|
||||
|
||||
PATCH_SITES= ftp://ftp.cmbi.kun.nl/pub/molgraph/molden/bin/
|
||||
PATCHFILES= ${PORTNAME}${PORTVERSION}-freebsd
|
||||
|
||||
MAINTAINER= rmiya@cc.hirosaki-u.ac.jp
|
||||
|
||||
USE_XLIB= yes
|
||||
|
||||
RESTRICTED= "free for academic, non profit usage;"
|
||||
NO_CDROM= "Do not re-distribute source and executable."
|
||||
NO_PACKAGE= "Though the source codes is accessible, the author is hoping for distribution in an original binary form."
|
||||
NO_PACKAGE= "Though the source codes are accessible, the author is hoping for distribution in an original form."
|
||||
MAKEFILE= ${WRKSRC}/makefile
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -29,36 +27,12 @@ MAKEFILE= ${WRKSRC}/makefile
|
||||
post-configure:
|
||||
@${ECHO_MSG} "********************"
|
||||
@${ECHO_MSG} "** If you want to use a larger MOLDEN,"
|
||||
@${ECHO_MSG} "** edit change_parameter, change_parameter.sh"
|
||||
@${ECHO_MSG} "** or utils/*, and run them before building it."
|
||||
@${ECHO_MSG} "** edit change_parameter.sh and run it,"
|
||||
@${ECHO_MSG} "** before \'make build\'."
|
||||
@${ECHO_MSG} "********************"
|
||||
|
||||
pre-build:
|
||||
.if defined(ORIGINALBINARY)
|
||||
@${ECHO_MSG} "********************"
|
||||
@${ECHO_MSG} "** using original binary"
|
||||
@${ECHO_MSG} "********************"
|
||||
.elif defined(MYBINARY)
|
||||
@${ECHO_MSG} "********************"
|
||||
@${ECHO_MSG} "** re-build your own MOLDEN"
|
||||
@${ECHO_MSG} "********************"
|
||||
.else
|
||||
@${ECHO_MSG} "********************"
|
||||
@${ECHO_MSG} "** set ORIGINALBINARY=yes or MYBINARY=yes"
|
||||
@${ECHO_MSG} "********************"
|
||||
@exit 1
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
.if defined(ORIGINALBINARY)
|
||||
${CP} ${DISTDIR}/${PORTNAME}${PORTVERSION}-freebsd ${WRKSRC}/molden
|
||||
.elif defined(MYBINARY)
|
||||
(cd ${WRKSRC} && ${MAKE})
|
||||
.else
|
||||
@${ECHO_MSG} "********************"
|
||||
@${ECHO_MSG} "** set ORIGINALBINARY=yes or MYBINARY=yes"
|
||||
@${ECHO_MSG} "********************"
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/molden ${PREFIX}/bin/
|
||||
|
@ -1,2 +1 @@
|
||||
MD5 (molden3.6.tar.Z) = 33fe2031c540569b7d55ea2b8de04443
|
||||
MD5 (molden3.6-freebsd) = 6c0b10b7ad5f64534c9f0d2410f0c4c2
|
||||
MD5 (molden3.7.tar.Z) = 1fc455d8f8b2a1c2f0b399a6f9b98b71
|
||||
|
Loading…
Reference in New Issue
Block a user