# New ports collection makefile for: xotcl # Date created: Mon Sep 25 15:31:00 CET 2006 # Whom: Martin Matuska # # $FreeBSD$ # PORTNAME= xotcl PORTVERSION= 1.6.6 CATEGORIES?= lang tcl MASTER_SITES= SF \ http://media.wu-wien.ac.at/download/ MAINTAINER= mm@FreeBSD.org COMMENT= Object-oriented scripting language based on Tcl USE_TCL= 84+ USE_TCL_THREADS= yes INSTALL_TARGET= install ALL_TARGET= all test-nohttp USE_GMAKE= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} MAKE_JOBS_UNSAFE= yes .if !defined(AOLSERVER_XOTCL) USE_LDCONFIG= ${PREFIX}/lib/xotcl${PORTVERSION} GNU_CONFIGURE= yes PORTDOCS= * OPTIONS= ACTIWEB "Include actiweb" on \ TUTORIAL "Install XOTcl tutorial" off LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2 CONFIGURE_ARGS+= --with-expat=${LOCALBASE}/include,${LOCALBASE}/lib .else AOLSERVERBASE?= aolserver .endif .include .if defined(AOLSERVER_XOTCL) RUN_DEPENDS+= ${LOCALBASE}/aolserver/bin/init.tcl:${PORTSDIR}/www/aolserver \ ${LOCALBASE}/lib/xotcl${PORTVERSION}/xotclConfig.sh:${PORTSDIR}/lang/xotcl PLIST= ${WRKDIR}/pkg-plist.aolserver PLIST_FILES= ${AOLSERVERBASE}/modules/tcl/xotcl.tcl LATEST_LINK= aolserver-xotcl NO_BUILD= yes .endif .if defined(WITH_ACTIWEB) CONFIGURE_ARGS+= --with-actiweb --with-gdbm=${LOCALBASE}/include,${LOCALBASE}/lib LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm PLIST_SUB+= ACTIWEB="" .else PLIST_SUB+= ACTIWEB="@comment " .endif .if defined(WITH_TUTORIAL) PLIST_SUB+= TUTORIAL="" .else PLIST_SUB+= TUTORIAL="@comment " .endif INSTALL_TARGET+= install-shells .if !defined(AOLSERVER_XOTCL) && !defined(NO_INSTALL_MANPAGES) MAN1= xotclsh.1 .endif CONFIGURE_ARGS+= --exec-prefix=${PREFIX} \ --libdir=${PREFIX}/lib \ --enable-threads \ --with-tcl=${TCL_LIBDIR} \ --with-tclinclude=${TCL_INCLUDEDIR}/generic/ \ --with-xotclsh CONFIGURE_ENV+= TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" post-patch: @${REINPLACE_CMD} -e 's|TCLSH_PROG=".*"|TCLSH_PROG="${TCLSH}"|g' \ ${WRKSRC}/configure .if defined(AOLSERVER_XOTCL) # Install for aolserver module do-install: @${INSTALL_DATA} ${WRKSRC}/generic/aol-xotcl.tcl \ ${PREFIX}/${AOLSERVERBASE}/modules/tcl/xotcl.tcl .endif .if !defined(AOLSERVER_XOTCL) # Aolserver module has no post-install post-install: .if defined(WITH_TUTORIAL) ${MKDIR} ${EXAMPLESDIR}/tutorial/html ${EXAMPLESDIR}/tutorial/pdf .for FILE in langRef-xotcl.pdf tutorial.pdf ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${EXAMPLESDIR}/tutorial/pdf .endfor @cd ${WRKSRC}; ${FIND} doc/ -type f \( -name '*.html' -or -name '*.css' -or -name '*.gif' \) \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${EXAMPLESDIR}/tutorial/html \; .endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for FILE in COPYRIGHT ChangeLog README README.aol ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} .endfor .endif .if !defined(NO_INSTALL_MANPAGES) ${INSTALL_MAN} ${WRKSRC}/man/xotclsh.1 ${PREFIX}/man/man1/ .endif .endif .include e='author'>author
Commit message (Expand)AuthorAgeFilesLines
* Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-0/+1
* - Remove unusable mirror sitesrafan2009-12-291-6/+2
* - Explicitly disable setup-tool. The configure requires additional patchrafan2009-12-271-1/+2
* - Update to 1.2.2 which is compatible with libchewing >= 0.3.2rafan2009-12-277-64/+33
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* - Correct plistpav2009-05-221-0/+1
* Fix USE_XORG for the upcoming bsd.port.mk changes (ports/122340).flz2008-07-231-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+1
* - Switch to USE_XORGrafan2008-03-261-1/+2
* - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-251-1/+0
* - Update to 1.1.6rafan2008-03-092-4/+4
* - Update to 1.1.5rafan2008-02-272-4/+4
* - Update to 1.1.4.1rafan2008-02-252-4/+4
* - Update to 1.1.4rafan2008-02-224-10/+12
* - Remove the DESTDIR modifications from individual ports as we have a new,gabor2007-08-041-3/+3
* - Update to 1.1.3rafan2007-05-252-10/+4
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* - Add local distfiles mirror until next release.rafan2007-02-081-1/+2
* - Update to 1.1.2.90rafan2007-02-042-4/+4
* - Update to 1.1.2rafan2007-02-022-6/+5
* - Optional GNOME dependencies should use WANT_GNOME=yes beforerafan2006-12-111-1/+1
* - Chase recent chinese/fireflyttf changesrafan2006-11-031-1/+1
* Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-141-2/+2
* - Enable GUI Setup Toolrafan2006-10-095-5/+52
* - Update to 1.1.1rafan2006-09-273-442/+4
* - Update to 1.1.0rafan2006-09-105-74/+75
* - Respect TARGETDIRrafan2006-08-131-4/+4
* Change to my FreeBSD.org email.rafan2006-06-27