diff options
author | mi <mi@FreeBSD.org> | 2004-02-07 05:45:56 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2004-02-07 05:45:56 +0800 |
commit | 64c0ad79b5c44ef13f1d18bd8995934522b1560b (patch) | |
tree | a80b76798b5cad667171e0e6739b4de310771254 | |
parent | e0a397b4242b0acac14da25eba7848edc4030d39 (diff) | |
download | freebsd-ports-gnome-64c0ad79b5c44ef13f1d18bd8995934522b1560b.tar.gz freebsd-ports-gnome-64c0ad79b5c44ef13f1d18bd8995934522b1560b.tar.zst freebsd-ports-gnome-64c0ad79b5c44ef13f1d18bd8995934522b1560b.zip |
Upgrade from 2.14 to 2.40. Some reorganization of the Makefile, while here.
Prodded by: SoD (at cd.pri.ee)
-rw-r--r-- | databases/mysqltcl/Makefile | 16 | ||||
-rw-r--r-- | databases/mysqltcl/distinfo | 2 | ||||
-rw-r--r-- | databases/mysqltcl/files/Makefile.bsd | 8 |
3 files changed, 13 insertions, 13 deletions
diff --git a/databases/mysqltcl/Makefile b/databases/mysqltcl/Makefile index 82757d45ec43..455d2b9668e2 100644 --- a/databases/mysqltcl/Makefile +++ b/databases/mysqltcl/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mysqltcl -PORTVERSION= 2.14 +PORTVERSION= 2.40 CATEGORIES= databases tcl83 MASTER_SITES= http://www.xdobry.de/mysqltcl/ @@ -16,16 +16,16 @@ COMMENT= TCL module for accessing MySQL databases based on msqltcl LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql323-client \ ${TCL_NODOT}:${PORTSDIR}/lang/${TCL_NODOT} -TCL_VERSION?= tcl8.3 +TCL_VERSION?= tcl8.4 TCL_NODOT= ${TCL_VERSION:S/.//} SQL_DIR= ${PREFIX}/lib/${TCL_VERSION}/mysqltcl PLIST_SUB+= TCL_VERSION=${TCL_VERSION} LIB_NAME=${LIB_NAME} MANN= mysqltcl.n - -do-build: - cd ${WRKSRC} && ${MAKE} PREFIX="${PREFIX}" \ - TCL_VERSION=${TCL_VERSION} TCL_NODOT=${TCL_NODOT} \ - -f ${FILESDIR}/Makefile.bsd ${LIB_NAME} +MAKE_ENV+= PORTVERSION="${PORTVERSION}" \ + TCL_VERSION="${TCL_VERSION}" \ + TCL_NODOT="${TCL_NODOT}" +MAKEFILE= ${FILESDIR}/Makefile.bsd +ALL_TARGET= shlib do-install: ${MKDIR} ${SQL_DIR} @@ -36,4 +36,4 @@ do-install: .include <bsd.port.mk> -LIB_NAME!= ${MAKE} -f ${FILESDIR}/Makefile.bsd -V SHLIB_NAME +LIB_NAME!= ${MAKE_ENV} ${MAKE} -f ${FILESDIR}/Makefile.bsd -V SHLIB_NAME diff --git a/databases/mysqltcl/distinfo b/databases/mysqltcl/distinfo index 461708e92e2c..88c66607f66a 100644 --- a/databases/mysqltcl/distinfo +++ b/databases/mysqltcl/distinfo @@ -1 +1 @@ -MD5 (mysqltcl-2.14.tar.gz) = 9de2de463abd28968692ebb32b012e9d +MD5 (mysqltcl-2.40.tar.gz) = efd5af57fdcaf22d32e05573e814e4be diff --git a/databases/mysqltcl/files/Makefile.bsd b/databases/mysqltcl/files/Makefile.bsd index 6587f847af63..1eef8065a549 100644 --- a/databases/mysqltcl/files/Makefile.bsd +++ b/databases/mysqltcl/files/Makefile.bsd @@ -1,8 +1,8 @@ .PATH: ${.CURDIR}/generic LIB = mysqltcl -SHLIB_MAJOR= 2 -SHLIB_MINOR= 14 +SHLIB_MAJOR= ${PORTVERSION:R} +SHLIB_MINOR= ${PORTVERSION:E} SRCS = mysqltcl.c CFLAGS += -I${PREFIX}/include/${TCL_VERSION}/ @@ -11,6 +11,6 @@ LDADD += -L${PREFIX}/lib -l${TCL_NODOT} LDADD += -L${PREFIX}/lib/mysql -lmysqlclient CFLAGS += -DVERSION='"${SHLIB_MAJOR}.${SHLIB_MINOR}"' -all: ${SHLIB_NAME} - .include <bsd.lib.mk> + +shlib: ${SHLIB_NAME} |