# New ports collection makefile for: p5-Mysql-modules # Date created: 24 August 1999 # Whom: Mikhail Teterin # # $FreeBSD$ # PORTNAME= ${TCL_NODOT}-sql PORTVERSION= 20000114 PORTREVISION= 6 CATEGORIES= databases tcl MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tcl-sql DISTNAME= tcl-sql-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= mi@aldan.algebra.com COMMENT= TCL module for accessing MySQL databases LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql41-client BUILD_DEPENDS= tclsh${TCL_VERSION}:${PORTSDIR}/lang/${TCL_NODOT} TCL_VERSION?= 8.4 # Only this needs changing to switch TCL-version TCL_NODOT= tcl${TCL_VERSION:S/.//} WRKSRC= ${WRKDIR}/tcl-sql/ LIB_NAME= libTclMySQL.so.1 PLIST_SUB= TCL_VERSION=tcl${TCL_VERSION} LIB_NAME=${LIB_NAME} MAKE_ARGS+= SHLIB_NAME=${LIB_NAME} ${PLIST_SUB} REINPLACE_ARGS= -i "" MAKEFILE= ${FILESDIR}/Makefile.bsd DOCSDIR?= ${PREFIX}/share/doc/tcl-MySQL post-patch: @${REINPLACE_CMD} -e 's,^int ,static int ,' ${WRKSRC}/sql.cc SQL_DIR= ${LOCALBASE}/lib/tcl${TCL_VERSION}/sql1.0 do-install: ${MKDIR} ${SQL_DIR} ${INSTALL_DATA} ${WRKSRC}/obj/libTclMySQL.so.* ${SQL_DIR} ${ECHO} "package ifneeded sql 1.0 \ {load ${SQL_DIR}/${LIB_NAME} sql}" \ > ${SQL_DIR}/pkgIndex.tcl .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${WRKSRC}/docs/*.txt \ ${DOCSDIR} .endif .include mon FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2
* Change maintainer address to my FreeBSD addresscs2011-09-151-1/+1
* - Updated to 3.6.12glarkin2011-07-072-3/+3
* - Updated to 3.6.10glarkin2011-04-232-3/+3
* - Updated to 3.6.6glarkin2011-01-043-4/+3
* Sync to final (for now) bsd.autotools.mkade2010-12-231-1/+3
* Sync to new bsd.autotools.mkade2010-12-041-1/+1
* - Updated to 3.6.4glarkin2010-11-182-4/+3
* Punt autoconf267->autoconf268ade2010-10-161-2/+2
* - Updated to 3.6.3glarkin2010-10-144-25/+40
* Reset maintainer:erwin2010-10-071-1/+1
* Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-3/+3
* Chase the ftp/curl shlib version bump.roam2010-04-031-0/+1
* - Update to 3.3.7.araujo2009-09-02