import { Styles } from '@0xproject/react-shared'; import * as React from 'react'; import { InputLabel } from 'ts/components/ui/input_label'; const styles: Styles = { hr: { borderBottom: '1px solid rgb(224, 224, 224)', borderLeft: 'none rgb(224, 224, 224)', borderRight: 'none rgb(224, 224, 224)', borderTop: 'none rgb(224, 224, 224)', bottom: 6, boxSizing: 'content-box', margin: 0, position: 'absolute', width: '100%', }, }; interface FakeTextFieldProps { label?: React.ReactNode | string; children?: any; } export const FakeTextField = (props: FakeTextFieldProps) => { return (
{props.label !== '' && }
{props.children}

); }; href='/~lantw44/cgit/'>cgit logo index : freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogblamecommitdiffstats
path: root/lang/mozart/Makefile
blob: 6abbf3243db161e10a599810fc179eb8dbb127af (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                 
                      
                              
                                  
                                                                                    
                                      


                              
 
                                         
                                                                      
 
                                                         
                                                 
                                                                   
                                                   
                                                
                                                    
 
                                                
 
                                     
           


                                       
                   
                   
                           



                                                       
                                                         
                                                                                                    
                                                                         

                                                   
 





                                           










                                                                      
           



                                                            
 
             
                        
                                                          
                                   

                                                           




                                                                 
                                          
      
                                                                     
                                        
                                                             

                                             




                                                                      

                                                    
                             
 
                           
# New ports collection makefile for:   mozart
# Date created:        23. June 2000
# Whom:                Mathias Picker <mathiasp@virtual-earth.de>
#
# $FreeBSD$
#

PORTNAME=   mozart
PORTVERSION=    1.3.0.20040413
CATEGORIES= lang tk83 parallel
MASTER_SITES=   http://www.mozart-oz.org/download/mozart-ftp/store/1.3.0-2004-04-15/
DISTFILES=  ${DISTNAME}-src.tar.gz
.if !defined(NOPORTDOCS)
DISTFILES+= ${MOZART_DOCS}
.endif

MAINTAINER= mathiasp@virtual-earth.de
COMMENT=    A distributed language with constraint-based inference

PATCH_DEPENDS=  autoconf213:${PORTSDIR}/devel/autoconf213
BUILD_DEPENDS=  emacs:${PORTSDIR}/editors/emacs \
        ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4
LIB_DEPENDS=    gdbm.3:${PORTSDIR}/databases/gdbm \
        gmp.6:${PORTSDIR}/math/libgmp4 \
        tk83.1:${PORTSDIR}/x11-toolkits/tk83

MOZART_DOCS=    mozart-${PORTVERSION}-doc.tar.gz

SCRIPTS_ENV=    LN=${LN} PERL=${PERL}
ALL_TARGET=
MAKE_ARGS=  PREFIX=${PREFIX}/lib/oz
USE_BISON=  yes
USE_GMAKE=  yes
HAS_CONFIGURE=  yes
USE_XLIB=   yes
USE_AUTOCONF_VER=   213
# magic wand: set INSTALL to some absurd value, or else
# mozart's configure will not find the right install
# when configuring as root.
CONFIGURE_ENV=  INSTALL=${CHMOD}
CONFIGURE_ARGS= --prefix=${PREFIX}/lib/oz --disable-doc \
    --with-inc-dir=${LOCALBASE}/include/tcl8.3,${LOCALBASE}/include/tk8.3,${LOCALBASE}/include \
    --with-lib-dir=${LOCALBASE}/lib --with-tcl-lib=${LOCALBASE}/lib \
    --with-tk-lib=${LOCALBASE}/lib \
    --with-tkinclude=${LOCALBASE}/include/tk8.3

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=     "Does not compile on !i386"
.endif

pre-extract:
    @${ECHO}
    @${ECHO} -----------------------------------------------------
    @${ECHO}
    @${ECHO} If you have problems building mozart,
    @${ECHO} deinstall any old version of mozart
    @${ECHO} and unset OZHOME
    @${ECHO}
    @${ECHO} ----------------------------------------------------
    @${ECHO}

post-patch:
    cd ${WRKSRC}/platform/emulator \
        && ${AUTOCONF} ${AUTOCONF_ARGS} -l ${WRKSRC}
    cd ${WRKSRC}/platform/tools/gump/ozflex \
        && ${AUTOCONF} ${AUTOCONF_ARGS} -l ${WRKSRC}

post-install:
.if !defined(NOPORTDOCS)
    @${TAR} --unlink -xzpf ${DISTDIR}/${MOZART_DOCS} \
        -C ${PREFIX}/lib/oz
    @${RM} -rf ${PREFIX}/lib/oz/doc
    @${MV} ${PREFIX}/lib/oz/mozart/doc ${PREFIX}/lib/oz
    @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/oz/doc
    @${FIND} ${PREFIX}/lib/oz -type d -print0 \
        | ${XARGS} -0 ${CHMOD} 755
    @${FIND} ${PREFIX}/lib/oz/doc -type f -print0 \
        | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
    @${RM} -rf ${PREFIX}/lib/oz/mozart
.endif
    @cd ${PREFIX} ; ${FIND} lib/oz -type f -o -type l | ${SORT} \
        > ${WRKDIR}/PLIST.lib-oz
    @cd ${PREFIX} ; ${FIND} lib/oz -type d | ${SORT} -r \
            | ${SED} -e 's/^/@dirrm /g' \
        >> ${WRKDIR}/PLIST.lib-oz
    @${ECHO_CMD} "r ${TMPPLIST}"        > ${WRKDIR}/ex.script
    @${ECHO_CMD} "/Insert PLIST.lib-oz" >> ${WRKDIR}/ex.script
    @${ECHO_CMD} "d"            >> ${WRKDIR}/ex.script
    @${ECHO_CMD} "r ${WRKDIR}/PLIST.lib-oz" >> ${WRKDIR}/ex.script
    @${ECHO_CMD} "x!"           >> ${WRKDIR}/ex.script
    @${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-lib-oz
    @cd ${WRKDIR} ; ex < ex.script
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>