diff options
author | gabor <gabor@FreeBSD.org> | 2007-08-04 19:41:30 +0800 |
---|---|---|
committer | gabor <gabor@FreeBSD.org> | 2007-08-04 19:41:30 +0800 |
commit | 1f31ff34b514d77244257a9a94391d3aae8edab0 (patch) | |
tree | a676504f8edaca31196a243aa7393f33f26078fa /chinese/zhcon | |
parent | fb4c30cf2c9bc123dc0c05a0e070f2c48e83be57 (diff) | |
download | freebsd-ports-gnome-1f31ff34b514d77244257a9a94391d3aae8edab0.tar.gz freebsd-ports-gnome-1f31ff34b514d77244257a9a94391d3aae8edab0.tar.zst freebsd-ports-gnome-1f31ff34b514d77244257a9a94391d3aae8edab0.zip |
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
Diffstat (limited to 'chinese/zhcon')
-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 1d79a1dd08a3..2a1139c9db14 100644 --- a/chinese/zhcon/Makefile +++ b/chinese/zhcon/Makefile @@ -30,14 +30,14 @@ SUB_FILES= pkg-message MAN1= zhcon.1 post-patch: - @${REINPLACE_CMD} -e 's,/etc,${TARGETDIR}/etc,' ${WRKSRC}/doc/zhcon.1.in + @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/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,${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' \ + @${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' \ -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 |