mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
- optimize reinplace to handle symlinked /usr/ports
This commit is contained in:
parent
6fe1e82dd1
commit
d812bf6dde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120378
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= tcl
|
||||
PORTVERSION= 8.2.3
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= lang tcl82
|
||||
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
||||
MASTER_SITE_SUBDIR= tcl8_2
|
||||
@ -16,7 +16,7 @@ DISTNAME= tcl8.2.3
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Tool Command Language
|
||||
|
||||
NO_LATEST_LINK= yes
|
||||
LATEST_LINK= tcl82
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -381,8 +381,7 @@ post-extract:
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
${WRKSRC}/tclConfig.sh
|
||||
.if !defined(WITH_TCL82_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= tcl
|
||||
PORTVERSION= 8.3.5
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= lang tcl83
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= tcl
|
||||
@ -429,8 +429,7 @@ MLINKS= Access.3 Tcl_Access.3 \
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
${WRKSRC}/tclConfig.sh
|
||||
.if !defined(WITH_TCL83_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= tcl
|
||||
PORTVERSION= 8.4.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= lang tcl84
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
@ -604,8 +604,7 @@ post-patch:
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
${WRKSRC}/tclConfig.sh
|
||||
.if defined(WITHOUT_TCL84_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= tk
|
||||
PORTVERSION= 8.2.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= x11-toolkits tk82
|
||||
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
||||
MASTER_SITE_SUBDIR= tcl8_2
|
||||
@ -309,8 +309,7 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
${WRKSRC}/tkConfig.sh
|
||||
.if !defined(WITH_TK82_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= tk
|
||||
PORTVERSION= 8.3.5
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= x11-toolkits tk83
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= tcl
|
||||
@ -327,8 +327,7 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
${WRKSRC}/tkConfig.sh
|
||||
.if !defined(WITH_TK83_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= tk
|
||||
PORTVERSION= 8.4.6
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= x11-toolkits tk84
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
@ -359,8 +360,7 @@ post-patch:
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
|
||||
-e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
|
||||
${WRKSRC}/tkConfig.sh
|
||||
.if defined(WITHOUT_TK84_MAN)
|
||||
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
|
||||
|
Loading…
Reference in New Issue
Block a user