1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/lang/visualworks/Makefile
Tijl Coosemans 82a87de90c - Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
  USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
  ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
  are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling.  In the very rare cases
  that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling.  Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
  default versions framework.
- bsd.port.mk:
  - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
  - Put USE_LINUX_PREFIX handling after USES processing.
  - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
    give these variables a different default value.
  - When a package needs to run Linux ldconfig check before installation if
    Linux support is enabled.
- emulators/linux_base-*:
  - Use USES=linux and remove duplication.
  - Remove files/lp.  FreeBSD or CUPS lp(1) should work.
  - Remove files/yp.conf.  No longer seems to be used.
  - Remove pkg-deinstall and move pkg-install into pkg-plist.
  - Update pkg-descr and pkg-message.
  - Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
  to use FreeBSD mkdir so mkdir -p $path creates $path and not
  /compat/linux/$path.

PR:		211645
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-05 19:23:42 +00:00

170 lines
5.5 KiB
Makefile

# Created by: js@jeannot.org
# $FreeBSD$
PORTNAME= visualworks
PORTVERSION= 7.6
PORTREVISION= 1
CATEGORIES= lang linux
MASTER_SITES= http://www.cincomsmalltalk.com/bsdports/${SUBDIR}.old/
DISTFILES= BaseVisualWorks.tar.gz \
VM-Linux86.tar.gz
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= High performance Smalltalk environment
DIST_SUBDIR= ${SUBDIR}
SUBDIR= vwnc${PORTVERSION}
USES= linux
USE_LINUX= xorglibs
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
MY_STARTUP_SCRIPT= visual.sh
RESTRICTED= Redistribution is probably not permitted
OPTIONS_DEFINE= ATOOLS COM DLLC DST DATABASE DOTNET CONTRIBUTED ARAGON COAST DOME JUN \
SEASIDE SILVERMARK GEMSTONE I18N OBSOLETE OPENTALK PLUGIN PREVIEW STORE \
WEBAPP WEBSERVICES VMLINUX VMWINDOWS VMMAC VMSOLARIS VMAIX VMHPUX VMSGI
OPTIONS_DEFAULT= DLLC DATABASE SEASIDE STORE
SUB_FILES= pkg-message
ATOOLS_DESC= Advanced Tools
COM_DESC= COM
DLLC_DESC= DLLC Connect
DST_DESC= Distributed Smalltalk
DATABASE_DESC= Database Support
DOTNET_DESC= DotNet Connect
CONTRIBUTED_DESC= Contributed
ARAGON_DESC= Contributed - Aragon
COAST_DESC= Contributed - COAST
DOME_DESC= Contributed - DOME
JUN_DESC= Contributed - Jun 3D Framework
SEASIDE_DESC= Contributed - Seaside
SILVERMARK_DESC= Contributed - Silvermark
GEMSTONE_DESC= Contributed - GemStone Server and Client
I18N_DESC= Internationalization
OBSOLETE_DESC= Obsolete stuff
OPENTALK_DESC= Opentalk
PLUGIN_DESC= Plugin
PREVIEW_DESC= Preview Technology
STORE_DESC= Store
WEBAPP_DESC= Web Application Framework
WEBSERVICES_DESC= Web Services
VMLINUX_DESC= Virtual Machines for Linux ppc/sparc/x86-64
VMWINDOWS_DESC= Virtual Machines for Windows NT/CEx86/CEarm
VMMAC_DESC= Virtual Machines for Mac OSX/OSXX11/powermac
VMSOLARIS_DESC= Virtual Machine for Solaris
VMAIX_DESC= Virtual Machine for AIX
VMHPUX_DESC= Virtual Machine for HPUX
VMSGI_DESC= Virtual Machine for SGI
.include <bsd.port.pre.mk>
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MATOOLS}
DISTFILES+= AdvancedTools.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MCOM}
DISTFILES+= COM.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDLLC}
DISTFILES+= DLLC.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDST}
DISTFILES+= DST.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDATABASE} || ${PORT_OPTIONS:MDOTNET}
DISTFILES+= Database.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MCONTRIBUTED}
DISTFILES+= Contributed.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MARAGON}
DISTFILES+= CntrbAragon.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MCOAST}
DISTFILES+= CntrbCOAST.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDOME}
DISTFILES+= CntrbDome.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MJUN}
DISTFILES+= CntrbJun.tar.gz \
CntrbHeeg.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MSEASIDE}
DISTFILES+= CntrbSeaside.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MSILVERMARK}
DISTFILES+= CntrbSilverMark.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MGEMSTONE}
DISTFILES+= CntrbGemStoneClient.tar.gz \
CntrbGemStoneSvrLinux.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MI18N}
DISTFILES+= I18NCatalogs.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MOBSOLETE}
DISTFILES+= Obsolete.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MOPENTALK}
DISTFILES+= Opentalk.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MPLUGIN}
DISTFILES+= Plugin.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MPREVIEW}
DISTFILES+= Preview.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MSTORE}
DISTFILES+= Store.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMAIX}
DISTFILES+= VM-AIX.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMHPUX}
DISTFILES+= VM-HPUX.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMMAC}
DISTFILES+= VM-MacOSX.tar.gz \
VM-MacOSXX11.tar.gz \
VM-Powermac.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMSGI}
DISTFILES+= VM-SGI.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMSOLARIS}
DISTFILES+= VM-Solaris.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMWINDOWS}
DISTFILES+= VM-Windows.tar.gz \
VM-WinCEARM.tar.gz \
VM-WinCEx86.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMLINUX}
DISTFILES+= VM-LinuxPPC.tar.gz \
VM-LinuxSPARC.tar.gz \
VM-LinuxX86_64.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MWEBAPP}
DISTFILES+= WebApplicationServer.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MWEBSERVICES}
DISTFILES+= WebServices.tar.gz
.endif
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@for f in ${DISTFILES}; do tar xzpf ${DISTDIR}/${DIST_SUBDIR}/$$f -C ${STAGEDIR}${DATADIR}; done
@${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${ECHO_CMD} "VISUALWORKS=${DATADIR}" >> ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${ECHO_CMD} "export VISUALWORKS" >> ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${ECHO_CMD} "${DATADIR}/bin/linux86/visual \$$*" >> ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${INSTALL_SCRIPT} ${WRKDIR}/${MY_STARTUP_SCRIPT} ${STAGEDIR}${DATADIR}
@${LN} -s ${DATADIR}/${MY_STARTUP_SCRIPT} ${STAGEDIR}${PREFIX}/bin/visual
.include <bsd.port.post.mk>