aboutsummaryrefslogtreecommitdiff
path: root/databases/mysqltcl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysqltcl/Makefile')
-rw-r--r--databases/mysqltcl/Makefile22
1 files changed, 5 insertions, 17 deletions
diff --git a/databases/mysqltcl/Makefile b/databases/mysqltcl/Makefile
index ce38b41ee15c..a64c70c86300 100644
--- a/databases/mysqltcl/Makefile
+++ b/databases/mysqltcl/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= mysqltcl
-PORTVERSION= 3.04
-CATEGORIES= databases tcl83 tcl84
+PORTVERSION= 3.05
+CATEGORIES= databases tcl82 tcl83 tcl84
MASTER_SITES= http://www.xdobry.de/mysqltcl/
MAINTAINER= bkoenig@alpha-tierchen.de
@@ -15,15 +15,13 @@ COMMENT= TCL module for accessing MySQL databases based on msqltcl
USE_LDCONFIG= yes
USE_MYSQL= yes
-USE_TCL= yes
-USE_TCL_BUILD= yes
+USE_TCL= 82+
+USE_DOS2UNIX= generic/mysqltcl.c
MANN= mysqltcl.n
GNU_CONFIGURE= yes
-.include <bsd.port.pre.mk>
-
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
--with-mysql-include=${LOCALBASE}/include/mysql \
--with-mysql-lib=${LOCALBASE}/lib/mysql \
@@ -32,14 +30,4 @@ CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
PLIST_SUB+= LIB_DIR=${PORTNAME}-${PORTVERSION} \
LIB_NAME=libmysqltcl${PORTVERSION}.so
-pre-patch:
- @${REINPLACE_CMD} -e 's, * ,,' ${WRKSRC}/generic/*.[ch]
-
-post-install:
- @${TEST} ! -f ${PKGMESSAGE} || ${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
-
-.if ${MYSQL_VER} == 323 || ${MYSQL_VER} == 40
-PKGMESSAGE= ${PKGDIR}/pkg-message-legacy
-.endif
+.include <bsd.port.mk>