diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-14 02:10:56 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-14 02:10:56 +0000 |
commit | 1cde50bc62c9f33db064cf857693c4fcb0e66623 (patch) | |
tree | 00a6916c3d3d23680aa43da365b1f190b7c28071 /chinese/zhcon/Makefile | |
parent | - Update to 0.95.1 (diff) |
- Respect DESTDIR
PR: 101905
Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by: maintainer (chinsan dot tw@gmail dot com)
Notes
Notes:
svn path=/head/; revision=170503
Diffstat (limited to 'chinese/zhcon/Makefile')
-rw-r--r-- | chinese/zhcon/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile index 856b9f89fa63..712506d02051 100644 --- a/chinese/zhcon/Makefile +++ b/chinese/zhcon/Makefile @@ -28,14 +28,14 @@ SUB_FILES= pkg-message MAN1= zhcon.1 post-patch: - @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,' ${WRKSRC}/doc/zhcon.1.in + @${REINPLACE_CMD} -e 's,/etc,${TARGETDIR}/etc,' ${WRKSRC}/doc/zhcon.1.in @${REINPLACE_CMD} -Ee 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/display/fbdev.cpp @${REINPLACE_CMD} -Ee 's,endian,sys/endian,g' ${WRKSRC}/src/display/fblinear4.cpp \ ${WRKSRC}/src/display/fblinear8.cpp ${WRKSRC}/src/display/fblinear16.cpp \ ${WRKSRC}/src/display/fblinear24.cpp - @${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${PREFIX}/lib,' ${WRKSRC}/src/zhcon.conf - @${REINPLACE_CMD} -e 's,"/etc,PREFIX"/etc,' ${WRKSRC}/src/zhcon.cpp - @${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \ + @${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${TARGETDIR}/lib,' ${WRKSRC}/src/zhcon.conf + @${REINPLACE_CMD} -e 's,"/etc,"${TARGETDIR}/etc,' ${WRKSRC}/src/zhcon.cpp + @${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${TARGETDIR}\3\4,g' \ -e '/_nl_expand_alias/s,\(0\),\(\),g' ${WRKSRC}/${CONFIGURE_SCRIPT} .if defined(WITH_BIG5) @${REINPLACE_CMD} -e '11 s,gb2312,big5,' ${WRKSRC}/src/zhcon.conf |