diff options
author | Martin Matuska <mm@FreeBSD.org> | 2009-06-30 09:43:21 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2009-06-30 09:43:21 +0000 |
commit | b23ab4c9017fc6bb6b0740e0ce85b29cfd550aec (patch) | |
tree | c1520f25e7a7e90bba5747f8bb48fa176b2c5bab /x11-toolkits | |
parent | 6b7785c6edec1c5387560d48e37bb540cce1cea9 (diff) | |
download | ports-b23ab4c9017fc6bb6b0740e0ce85b29cfd550aec.tar.gz ports-b23ab4c9017fc6bb6b0740e0ce85b29cfd550aec.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/tix/Makefile | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/x11-toolkits/tix/Makefile b/x11-toolkits/tix/Makefile index 4ed8d9d304f0..9dca2daee4e0 100644 --- a/x11-toolkits/tix/Makefile +++ b/x11-toolkits/tix/Makefile @@ -7,7 +7,7 @@ PORTNAME= tix PORTVERSION= 8.1.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits tk MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= tix @@ -15,18 +15,15 @@ MASTER_SITE_SUBDIR= tix MAINTAINER= ports@FreeBSD.org COMMENT= An extension to the Tk toolkit -BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${TCL84_PORT}:build \ - ${NONEXISTENT}:${PORTSDIR}/${TK84_PORT}:build -LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 - WRKSRC= ${WRKDIR}/${DISTNAME}/unix/tk8.4 USE_LDCONFIG= yes GNU_CONFIGURE= yes +USE_TK= 84 CONFIGURE_ARGS= --enable-shared --enable-sam \ - --with-tclconfig="${PREFIX}/lib/tcl8.4" \ - --with-tkconfig="${PREFIX}/lib/tk8.4" \ - --with-tclinclude="${PREFIX}/include/tcl8.4" \ - --with-tkinclude="${PREFIX}/include/tk8.4" + --with-tclconfig="${TCL_LIBDIR}" \ + --with-tkconfig="${TK_LIBDIR}" \ + --with-tclinclude="${TCL_INCLUDEDIR}" \ + --with-tkinclude="${TK_INCLUDEDIR}" # this should probably be added to bsd.port.mk CONFIGURE_ENV= PREFIX=${PREFIX} MAN1= tixwish.1 @@ -48,16 +45,9 @@ TIXSAM_LIB= libtixsam8184.so TIX_LIB_FILE= ${TIX_LIB}.1 TIXSAM_LIB_FILE=${TIXSAM_LIB}.1 TIXWISH= tixwish8.1.8.4 -TCL84_PORT?= lang/tcl84 -TK84_PORT?= x11-toolkits/tk84 .include <bsd.port.pre.mk> -TCLBASE!= ( cd ${PORTSDIR}/${TCL84_PORT} && make -V TCLBASE ) -TCLWRK!= ( cd ${PORTSDIR}/${TCL84_PORT} && make -V WRKDIR ) -TKBASE!= ( cd ${PORTSDIR}/${TK84_PORT} && make -V TKBASE ) -TKWRK!= ( cd ${PORTSDIR}/${TK84_PORT} && make -V WRKDIR ) - pre-extract: @${MAKE} clean @@ -68,16 +58,12 @@ pre-configure: INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}) - ${REINPLACE_CMD} \ - -e 's|$${WRKDIRPREFIX}${TCLBASE}/work|${TCLWRK}|g' \ - -e 's|$${WRKDIRPREFIX}${TKBASE}/work|${TKWRK}|g' \ - ${WRKSRC}/../Makefile post-configure: - ${REINPLACE_CMD} \ - -e 's|$${WRKDIRPREFIX}${TCLBASE}/work|${TCLWRK}|g' \ - -e 's|$${WRKDIRPREFIX}${TKBASE}/work|${TKWRK}|g' \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s,TCL_SRC_DIR .*,TCL_SRC_DIR=${TCL_INCLUDEDIR},g" \ + -e "s,TK_SRC_DIR .*,TK_SRC_DIR=${TK_INCLUDEDIR},g" \ + -e "s,\$$(TCL_BIN_DIR)/tclsh,${TCLSH},g" \ + ${WRKSRC}/Makefile post-install: @(cd ${WRKSRC}/.. && \ |