mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- use configures --includedir
- cleanup makefile
This commit is contained in:
parent
92a54757b7
commit
27c157aee2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80954
2 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
|
|||
GNU_CONFIGURE= yes
|
||||
TK_VER= 8.3
|
||||
SHORT_TK_VER= 83
|
||||
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}
|
||||
|
@ -34,7 +35,6 @@ PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.wish
|
|||
NOPRECIOUSMAKEVARS= Too many _MLINKS for README.html
|
||||
TCL83_PORT?= lang/tcl83
|
||||
USE_REINPLACE= YES
|
||||
|
||||
MANCOMPRESSED= no
|
||||
|
||||
MAN1= wish.1
|
||||
|
@ -319,12 +319,12 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
|
|||
palette.n tk_bisque.n \
|
||||
popup.n tk_popup.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})
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue