diff options
author | rillig <rillig@pkgsrc.org> | 2006-02-15 22:02:56 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-02-15 22:02:56 +0000 |
commit | 729bdb8b7ad98c94ea48d4d1e8977711ee2f9f77 (patch) | |
tree | a75e5245ef48c542aa1c0e766b83afa47fe225e5 /lang/tcl-itcl-current/Makefile | |
parent | d60bab3c62d0bd0e3eb0a9438a2f3c9efaa19517 (diff) | |
download | pkgsrc-729bdb8b7ad98c94ea48d4d1e8977711ee2f9f77.tar.gz |
Converted to the SUBST framework. Fixed all pkglint warnings.
Diffstat (limited to 'lang/tcl-itcl-current/Makefile')
-rw-r--r-- | lang/tcl-itcl-current/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lang/tcl-itcl-current/Makefile b/lang/tcl-itcl-current/Makefile index ff9fca3bacf..0d1bee76522 100644 --- a/lang/tcl-itcl-current/Makefile +++ b/lang/tcl-itcl-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/02/05 23:09:52 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2006/02/15 22:02:56 rillig Exp $ DISTNAME= tcl-itcl-20040920 PKGNAME= ${DISTNAME:S/itcl/itcl-current/} @@ -22,15 +22,15 @@ CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl:Q}/lib CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk:Q}/lib CONFIGURE_ARGS+= --enable-shared -MAKE_ENV+= TCL_HEADER_DIR=${BUILDLINK_PREFIX.tcl}/include/tcl +MAKE_ENV+= TCL_HEADER_DIR=${BUILDLINK_PREFIX.tcl:Q}/include/tcl -post-build: - ${SED} -e "s|^\(.*\)='\(.*\)'|\1=\"\2\"|" \ - -e "s|${WRKSRC}/itcl|${PREFIX}/lib/tcl/itcl${ITCL_VERS}|"\ - -e "s|${PREFIX}/lib/itcl${ITCL_VERS}|${PREFIX}/lib/tcl/itcl${ITCL_VERS}|"\ - -e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}|" \ - ${WRKSRC}/itcl/itclConfig.sh > ${WRKSRC}/itcl/itclConfig.sh.tmp &&\ - ${MV} ${WRKSRC}/itcl/itclConfig.sh.tmp ${WRKSRC}/itcl/itclConfig.sh +SUBST_CLASSES+= tcl-itcl +SUBST_STAGE.tcl-itcl= post-build +SUBST_FILES.tcl-itcl= itcl/itclConfig.sh +SUBST_SED.tcl-itcl= -e 's|^\(.*\)='\''\(.*\)'\''|\1="\2"|' +SUBST_SED.tcl-itcl+= -e s\|${WRKSRC:Q}/itcl\|${PREFIX:Q}/lib/tcl/itcl${ITCL_VERS:Q}\| +SUBST_SED.tcl-itcl+= -e s\|${PREFIX:Q}/lib/itcl${ITCL_VERS:Q}\|${PREFIX:Q}/lib/tcl/itcl${ITCL_VERS:Q}\| +SUBST_SED.tcl-itcl+= -e s\|${WRKDIR:Q}/${DISTNAME:C/-src//:Q}\|${PREFIX:Q}\| .include "../../lang/tcl/buildlink3.mk" .include "../../x11/tk/buildlink3.mk" |