aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-03-21 17:59:08 +0800
committergahr <gahr@FreeBSD.org>2013-03-21 17:59:08 +0800
commit546521b7acf7ce46fbb2f0d98e924de4fd8718dc (patch)
treed8f3cb768e600d9b7a221ac513ba354929ce1efa /devel
parentab30687a2d68759dbf3d65d818271200dddf27ce (diff)
downloadfreebsd-ports-gnome-546521b7acf7ce46fbb2f0d98e924de4fd8718dc.tar.gz
freebsd-ports-gnome-546521b7acf7ce46fbb2f0d98e924de4fd8718dc.tar.zst
freebsd-ports-gnome-546521b7acf7ce46fbb2f0d98e924de4fd8718dc.zip
- Respect PREFIX
- Fix PORTDOCS Reported by: miwi
Diffstat (limited to 'devel')
-rw-r--r--devel/tclthread/Makefile5
-rw-r--r--devel/tclthread/pkg-plist10
2 files changed, 5 insertions, 10 deletions
diff --git a/devel/tclthread/Makefile b/devel/tclthread/Makefile
index f794784f62e7..18fd2264e478 100644
--- a/devel/tclthread/Makefile
+++ b/devel/tclthread/Makefile
@@ -18,6 +18,7 @@ USE_TCL= 84+
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--exec-prefix=${PREFIX}
USE_LDCONFIG= ${PREFIX}/lib/thread${PORTVERSION}
PLIST_SUB+= VERSION="${PORTVERSION}"
@@ -32,12 +33,14 @@ OPTIONS_DEFINE= GDBM DOCS
OPTIONS_DEFAULT=GDBM
GDBM_DESC= Persistent shared variables using GDBM
+PORTDOCS= *
+
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+= --with-tcl="${TCL_LIBDIR}"
.if ${PORT_OPTIONS:MGDBM}
-LIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
CONFIGURE_ARGS+= --with-gdbm
.endif
diff --git a/devel/tclthread/pkg-plist b/devel/tclthread/pkg-plist
index 86ba789767b0..ed2893301f02 100644
--- a/devel/tclthread/pkg-plist
+++ b/devel/tclthread/pkg-plist
@@ -1,13 +1,5 @@
lib/thread%%VERSION%%/libthread.so.1
lib/thread%%VERSION%%/ttrace.tcl
lib/thread%%VERSION%%/pkgIndex.tcl
-%%PORTDOCS%%%%DOCSDIR%%/license.terms
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/html/thread.html
-%%PORTDOCS%%%%DOCSDIR%%/html/tpool.html
-%%PORTDOCS%%%%DOCSDIR%%/html/tsv.html
-%%PORTDOCS%%%%DOCSDIR%%/html/ttrace.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+include/tclThread.h
@dirrm lib/thread%%VERSION%%