aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-17 21:50:26 +0800
committergahr <gahr@FreeBSD.org>2014-02-17 21:50:26 +0800
commit6bc2811fb9a39cc97b5774a8d5c0b575d5a570c2 (patch)
tree9a6b2839bf66dd1e9f983982d6fef72d5f84f0ee
parent4b5eb510469609366912ea6c4ef8c9f43e7322c0 (diff)
downloadfreebsd-ports-gnome-6bc2811fb9a39cc97b5774a8d5c0b575d5a570c2.tar.gz
freebsd-ports-gnome-6bc2811fb9a39cc97b5774a8d5c0b575d5a570c2.tar.zst
freebsd-ports-gnome-6bc2811fb9a39cc97b5774a8d5c0b575d5a570c2.zip
- STAGE-clean
- Convert to USES=tcl
-rw-r--r--databases/sybtcl/Makefile10
-rw-r--r--databases/sybtcl/files/Makefile.bsd8
-rw-r--r--databases/sybtcl/pkg-plist1
3 files changed, 9 insertions, 10 deletions
diff --git a/databases/sybtcl/Makefile b/databases/sybtcl/Makefile
index 7b4e0a00602f..20798059af5a 100644
--- a/databases/sybtcl/Makefile
+++ b/databases/sybtcl/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sybtcl
-PORTVERSION= 3.0rc2
+DISTVERSION= 3.0rc2
PORTREVISION= 2
CATEGORIES= databases devel
MASTER_SITES= SF
@@ -12,14 +12,12 @@ COMMENT= TCL extension to connect to Sybase servers
LIB_DEPENDS= libsybdb.so:${PORTSDIR}/databases/freetds
-USE_TCL= 84+
+USES= tcl
TCL_DVER= ${TCL_VER:S/.//}
MAKEFILE= ${FILESDIR}/Makefile.bsd
-MAKE_ARGS+= TCL_VER=${TCL_VER}
+MAKE_ARGS+= TCL_VER=${TCL_VER} \
+ STAGEDIR=${STAGEDIR}
-MANN= ${PORTNAME}.n
-
-NO_STAGE= yes
post-install:
#######
# This port installs two of the vendor-supplied sample programs,
diff --git a/databases/sybtcl/files/Makefile.bsd b/databases/sybtcl/files/Makefile.bsd
index 141a1ef4b2c8..803be9766b33 100644
--- a/databases/sybtcl/files/Makefile.bsd
+++ b/databases/sybtcl/files/Makefile.bsd
@@ -34,13 +34,13 @@ $s: ${.CURDIR}/samples/$s
sp_who wisqlite: ${.CURDIR}
${PKGDIR}:
- mkdir -p ${PKGDIR}
+ mkdir -p ${STAGEDIR}${PKGDIR}
beforeinstall: ${PKGDIR}
${BSD_INSTALL_DATA} pkgIndex.tcl ${.CURDIR}/samples/sign_on.tcl \
- ${PKGDIR}
- ${BSD_INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin/
+ ${STAGEDIR}${PKGDIR}
+ ${BSD_INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/bin/
${BSD_INSTALL_MAN} ${.CURDIR}/doc/sybtcl.man \
- ${LOCALBASE}/man/mann/sybtcl.n
+ ${STAGEDIR}${PREFIX}/man/mann/sybtcl.n
.include <bsd.lib.mk>
diff --git a/databases/sybtcl/pkg-plist b/databases/sybtcl/pkg-plist
index 8e7160ef730b..00c2641f3abd 100644
--- a/databases/sybtcl/pkg-plist
+++ b/databases/sybtcl/pkg-plist
@@ -4,4 +4,5 @@ lib/libSybtcl.so.3
lib/libSybtcl.so
lib/Sybtcl/pkgIndex.tcl
lib/Sybtcl/sign_on.tcl
+man/mann/sybtcl.n.gz
@dirrm lib/Sybtcl