diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-08-17 13:00:53 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-08-17 13:00:53 +0800 |
commit | 1b4625b6036566fe8efa3b0c80c0df67188b7b31 (patch) | |
tree | 43638f898967f1a4287baf0db51171c549bf3cb6 /x11-toolkits/tk82 | |
parent | d8b692405312e3908851eef77449ca2a7f0c9ce2 (diff) | |
download | freebsd-ports-gnome-1b4625b6036566fe8efa3b0c80c0df67188b7b31.tar.gz freebsd-ports-gnome-1b4625b6036566fe8efa3b0c80c0df67188b7b31.tar.zst freebsd-ports-gnome-1b4625b6036566fe8efa3b0c80c0df67188b7b31.zip |
- new options:
WITH_TCL82_MAN, WITH_TCL82_MAN, WITHOUT_TCL84_MAN,
WITH_TK82_MAN, WITH_TK82_MAN, WITHOUT_TK84_MAN
PR: 70328
Diffstat (limited to 'x11-toolkits/tk82')
-rw-r--r-- | x11-toolkits/tk82/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-toolkits/tk82/Makefile b/x11-toolkits/tk82/Makefile index 6987c624cc1c..80ac932b1537 100644 --- a/x11-toolkits/tk82/Makefile +++ b/x11-toolkits/tk82/Makefile @@ -7,7 +7,7 @@ PORTNAME= tk PORTVERSION= 8.2.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits tk82 MASTER_SITES= ${MASTER_SITE_TCLTK} MASTER_SITE_SUBDIR= tcl8_2 @@ -35,6 +35,10 @@ TCL82_PORT?= lang/tcl82 USE_REINPLACE= YES MANCOMPRESSED= no +.include <bsd.port.pre.mk> + +.if defined(WITH_TK82_MAN) + MAN1= wish.1 MAN3= 3DBorder.3 BindTable.3 CanvPsY.3 CanvTkwin.3 CanvTxtInfo.3 \ Clipboard.3 ClrSelect.3 ConfigWidg.3 ConfigWind.3 CoordToWin.3 \ @@ -301,11 +305,15 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \ palette.n tk_bisque.n \ popup.n tk_popup.n -.include <bsd.port.pre.mk> +.endif post-configure: ${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \ ${WRKSRC}/tkConfig.sh +.if !defined(WITH_TK82_MAN) + ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ + ${WRKSRC}/Makefile +.endif post-install: ${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/tk${TK_VER}/ |