1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

1. upgrade to 2.5.1

2. add %%PORTDOCS%%
3. now mupad explicitly depends on open-motif(x11-toolkit/linux-openmotif)

PR:		43801
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2002-10-28 17:19:31 +00:00
parent 177172cf3b
commit 4d409c35da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69042
3 changed files with 1397 additions and 1516 deletions

View File

@ -6,16 +6,18 @@
# #
PORTNAME= mupad PORTNAME= mupad
PORTVERSION= 2.5.0 PORTVERSION= 2.5.1
CATEGORIES= math linux CATEGORIES= math linux
MASTER_SITES= ftp://ftp.mupad.de/MuPAD/distrib/unix/ \ MASTER_SITES= ftp://ftp.mupad.de/MuPAD/distrib/unix/ \
ftp://archives.cs.ehime-u.ac.jp/pub/MuPAD/distrib/unix/ \ ftp://archives.cs.ehime-u.ac.jp/pub/MuPAD/distrib/unix/ \
ftp://ftp.uni-paderborn.de/pub/MuPAD/distrib/unix/ ftp://ftp.uni-paderborn.de/pub/MuPAD/distrib/unix/
DISTFILES= bin_linux_scilab_250.tgz share_250.tgz DISTFILES= bin_linux_scilab_251.tgz share_251.tgz
DIST_SUBDIR= mupad DIST_SUBDIR= mupad
MAINTAINER= chat95@mbox.kyoto-inet.or.jp MAINTAINER= chat95@mbox.kyoto-inet.or.jp
RUN_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libXm.so.2:${PORTSDIR}/x11-toolkits/linux-openmotif
NO_CDROM= "unsure to sell for profit" NO_CDROM= "unsure to sell for profit"
USE_LINUX= yes USE_LINUX= yes
@ -36,12 +38,12 @@ do-install:
${RM} -rf ${WRKSRC}/packages/scilab/linux ${RM} -rf ${WRKSRC}/packages/scilab/linux
${RM} -rf ${WRKSRC}/packages/scilab/solaris ${RM} -rf ${WRKSRC}/packages/scilab/solaris
${TAR} cf - -C ${WRKSRC}/linux . | ${TAR} xf - -C ${PREFIX}/mupad/freebsd ${TAR} cf - -C ${WRKSRC}/linux . | ${TAR} xf - -C ${PREFIX}/mupad/freebsd
${TAR} --exclude man1 --exclude mann -cf - -C ${WRKSRC}/share . | ${TAR} xf - -C ${PREFIX}/mupad/share ${TAR} --exclude doc --exclude man1 --exclude mann -cf - -C ${WRKSRC}/share . | ${TAR} xf - -C ${PREFIX}/mupad/share
${TAR} -cf - -C ${WRKSRC}/packages . | ${TAR} xf - -C ${PREFIX}/mupad/packages ${TAR} -cf - -C ${WRKSRC}/packages . | ${TAR} xf - -C ${PREFIX}/mupad/packages
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mupad ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mupad
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/mupad ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/mupad
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/mupad ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/mupad
.for d in mupad mmg mxdvi mxmupad mxvcam version20 .for d in mmg mupad mxdvi mxmupad mxvcam
brandelf -t Linux ${PREFIX}/mupad/freebsd/bin/$d brandelf -t Linux ${PREFIX}/mupad/freebsd/bin/$d
.endfor .endfor
@ -51,6 +53,11 @@ do-install:
.endfor .endfor
.endfor .endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/mupad/share/doc
${TAR} cf - -C ${WRKSRC}/share/doc --exclude man1 --exclude mann . | ${TAR} xf - -C ${PREFIX}/mupad/share/doc
.endif
post-install: post-install:
@${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE} @${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}

View File

@ -1,2 +1,2 @@
MD5 (mupad/bin_linux_scilab_250.tgz) = c84df6381682cfdbb810b3c7456da5e7 MD5 (mupad/bin_linux_scilab_251.tgz) = 771016b303d59f02cbfd8b94c5443519
MD5 (mupad/share_250.tgz) = d85e454be874ad1ba3da4c549648dc56 MD5 (mupad/share_251.tgz) = ac0c0f9b69736a119767a2bee46921fa

File diff suppressed because it is too large Load Diff