Call DEINSTALL.wish to snuff-out extraneous wishes. Remove an archaicism
in non-ja tkstep80.
This commit is contained in:
parent
4c488df21a
commit
6c1cd273f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29092
@ -31,6 +31,8 @@ PATCH_DIST_ARGS=-d ${TOPDIR} -E ${PATCH_DIST_STRIP}
|
||||
.else
|
||||
PATCH_DIST_ARGS=-d ${TOPDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
|
||||
.endif
|
||||
PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg/INSTALL.wish
|
||||
PKGDEINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg/DEINSTALL.wish
|
||||
|
||||
TCLVERSION= 8.0
|
||||
TOPDIR= ${WRKDIR}/${DISTNAME}
|
||||
@ -46,5 +48,8 @@ post-install:
|
||||
README.TkStep README.step changes.TkSTEPjp ${PORTDOCDIR}
|
||||
.endif
|
||||
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
.if exists(${PKGINSTALL})
|
||||
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -22,6 +22,7 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=${TK_LIB_FILE}
|
||||
PKGINSTALL= ${PKGDIR}/INSTALL.wish
|
||||
PKGDEINSTALL= ${PKGDIR}/DEINSTALL.wish
|
||||
|
||||
SHLIB_MAJOR= 1
|
||||
SHLIB_MINOR= 4
|
||||
|
@ -21,6 +21,7 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.2
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk82.so.1
|
||||
PKGINSTALL= ${PKGDIR}/INSTALL.wish
|
||||
PKGDEINSTALL= ${PKGDIR}/DEINSTALL.wish
|
||||
|
||||
PLIST_SUB= TK_VER=8.2 SHORT_TK_VER=82
|
||||
|
||||
|
@ -23,6 +23,7 @@ CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.3
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk83.so.1
|
||||
MAKE_ENV= SHORT_TK_VER=83
|
||||
PKGINSTALL= ${PKGDIR}/INSTALL.wish
|
||||
PKGDEINSTALL= ${PKGDIR}/DEINSTALL.wish
|
||||
|
||||
PLIST_SUB= TK_VER=8.3 SHORT_TK_VER=83
|
||||
|
||||
|
@ -23,6 +23,7 @@ CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.3
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk83.so.1
|
||||
MAKE_ENV= SHORT_TK_VER=83
|
||||
PKGINSTALL= ${PKGDIR}/INSTALL.wish
|
||||
PKGDEINSTALL= ${PKGDIR}/DEINSTALL.wish
|
||||
|
||||
PLIST_SUB= TK_VER=8.3 SHORT_TK_VER=83
|
||||
|
||||
|
@ -29,6 +29,8 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared --enable-xpm --enable-step --enable-dnd \
|
||||
--enable-tiff --with-optimize="${CFLAGS} -I${PREFIX}/include"
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
|
||||
PKGINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg/INSTALL.wish
|
||||
PKGDEINSTALL= ${PORTSDIR}/x11-toolkits/tk82/pkg/DEINSTALL.wish
|
||||
|
||||
post-install:
|
||||
@${RM} ${PREFIX}/lib/tkstep8.0/demos/*.orig
|
||||
@ -40,13 +42,11 @@ post-install:
|
||||
.endif
|
||||
${LN} -sf ${PREFIX}/lib/libtkstep80.so.1 ${PREFIX}/lib/libtkstep80.so
|
||||
${LDCONFIG} -m ${PREFIX}/lib
|
||||
.if exists(${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish)
|
||||
${SH} ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
|
||||
.if exists(${PKGINSTALL})
|
||||
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
|
||||
.endif
|
||||
|
||||
test:
|
||||
cd ${WRKSRC}; make test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
PKG_ARGS+= -i ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
|
||||
|
Loading…
Reference in New Issue
Block a user