mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
7e814a58ec
using USE_LINUX_APPS+=dri. This is needed to switch a default linux base at 8-CURRENT to linux_base-f10. No PORTREVISION bump is needed since it's mere infrastructure fix. Affected ports: ----- emulators/linux-pete-mesagpu/Makefile emulators/linux-pete-xgl2gpu/Makefile games/atitd/Makefile games/linux-coldwar-demo/Makefile games/linux-darwinia-demo/Makefile games/linux-defcon/Makefile games/linux-doom3-demo/Makefile games/linux-gorky17-demo/Makefile games/linux-nerogame/Makefile games/linux-nwnclient/Makefile games/linux-savage/Makefile games/linux-savage-samuraiwars/Makefile games/linux-uplink-demo/Makefile games/linux-ut2003-demo/Makefile games/linux-ut2004-demo/Makefile games/linux-virtual-jay-peak/Makefile games/linux-warsow/Makefile graphics/linux-ac3d/Makefile math/mupad/Makefile net/skype12/Makefile ----- Approved by: maintainer timeout (2 months, the needed changes were submitted to emulation@ at 2009-04-09)
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# New ports collection makefile for: mupad
|
|
# Date created: Apr 4 2001
|
|
# Whom: Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mupad
|
|
PORTVERSION= 3.2.0
|
|
CATEGORIES= math linux
|
|
MASTER_SITES= #
|
|
DISTNAME= mupad-${PORTVERSION}-3-linux-i386
|
|
EXTRACT_SUFX= .rpm
|
|
DIST_SUBDIR= mupad
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A sophisticated computer algebra system
|
|
|
|
EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
|
|
USE_LINUX_APPS+=dri
|
|
|
|
NO_CDROM= unsure to sell for profit
|
|
|
|
.for file in ${DISTFILES}
|
|
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${file})
|
|
IGNORE= you can go http://www.mupad.de/download/mupadpro3.php and download `Linux, 32bit, i386 German. RPM package'
|
|
.endif
|
|
.endfor
|
|
|
|
USE_LINUX= yes
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
EXTRACT_CMD= rpm2cpio.pl
|
|
EXTRACT_BEFORE_ARGS=
|
|
EXTRACT_AFTER_ARGS= | ${CPIO} -id --quiet
|
|
MUPADBASEDIR=MuPAD-${PORTVERSION}
|
|
|
|
do-build:
|
|
@${MV} ${WRKSRC}/opt/MuPAD-${PORTVERSION}/linux ${WRKSRC}/opt/MuPAD-${PORTVERSION}/freebsd
|
|
.for d in mmg32 mupad32 xmupad32 xvc2jvx32
|
|
@${REINPLACE_CMD} -e 's:/opt/MuPAD-${PORTVERSION}/share/bin:${PREFIX}/${MUPADBASEDIR}/share/bin:g' \
|
|
${WRKSRC}/usr/local/bin/${d}
|
|
.endfor
|
|
|
|
do-install:
|
|
@${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM}
|
|
@${MKDIR} ${PREFIX}/${MUPADBASEDIR}
|
|
@${TAR} cf - -C ${WRKSRC}/opt/MuPAD-${PORTVERSION} . | ${TAR} xf - -C ${PREFIX}/${MUPADBASEDIR}
|
|
.for d in mmg mupad xmupad xvc2jvx
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/usr/local/bin/${d}32 ${PREFIX}/bin
|
|
@${LN} -s ${PREFIX}/bin/${d}32 ${PREFIX}/bin/${d}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|