diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-05-14 04:19:00 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-05-14 04:19:00 +0000 |
commit | 9173f056317db31bbc0ceabfb4a145e9219e000c (patch) | |
tree | 5e229d20b148075679cfe2351162f4700369637b /x11-toolkits/tk84 | |
parent | 27c157aee2aaf95a422db2a7debd26f63e62dcea (diff) | |
download | ports-9173f056317db31bbc0ceabfb4a145e9219e000c.tar.gz ports-9173f056317db31bbc0ceabfb4a145e9219e000c.zip |
Notes
Diffstat (limited to 'x11-toolkits/tk84')
-rw-r--r-- | x11-toolkits/tk84/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/tk84/files/patch-ab | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile index 53547ed90c94..0eb3477a0443 100644 --- a/x11-toolkits/tk84/Makefile +++ b/x11-toolkits/tk84/Makefile @@ -26,7 +26,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix GNU_CONFIGURE= yes TK_VER= 8.4 SHORT_TK_VER= 84 -CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${TK_VER} +CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl${TK_VER} \ + --includedir=${LOCALBASE}/include/tk${TK_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk${SHORT_TK_VER}.so.1 MAKE_ENV= SHORT_TK_VER=${SHORT_TK_VER} PLIST_SUB= TK_VER=${TK_VER} SHORT_TK_VER=${SHORT_TK_VER} @@ -35,7 +36,6 @@ PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.wish NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken TCL84_PORT?= lang/tcl84 USE_REINPLACE= YES - MANCOMPRESSED= no MAN1= wish.1 @@ -340,12 +340,12 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \ text.n tk_textCut.n \ text.n tk_textPaste.n +.include <bsd.port.pre.mk> + post-configure: ${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \ ${WRKSRC}/tkConfig.sh -.include <bsd.port.pre.mk> - post-install: ${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/tk${TK_VER}/ .if exists(${PKGINSTALL}) diff --git a/x11-toolkits/tk84/files/patch-ab b/x11-toolkits/tk84/files/patch-ab index 88e7be0d3f58..ca655bca5bba 100644 --- a/x11-toolkits/tk84/files/patch-ab +++ b/x11-toolkits/tk84/files/patch-ab @@ -5,7 +5,7 @@ # Directory in which to install the include file tk.h: -INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) -+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)/tk$(VERSION) ++INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) +GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic +UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix |