svn commit: r339152 - in head/chinese: aterm bsdconv-opencc bsdconv-opencc/files cless cless/files fqterm libchewing libgooglepinyin libpinyin opencc qterm
Vanilla I. Shu
vanilla at FreeBSD.org
Wed Jan 8 15:47:13 UTC 2014
Author: vanilla
Date: Wed Jan 8 15:47:09 2014
New Revision: 339152
URL: http://svnweb.freebsd.org/changeset/ports/339152
Log:
Support STAGEDIR.
Approved by: portmgr (blanket infrastructure)
Added:
head/chinese/bsdconv-opencc/files/
head/chinese/bsdconv-opencc/files/patch-Makefile (contents, props changed)
Modified:
head/chinese/aterm/Makefile
head/chinese/bsdconv-opencc/Makefile
head/chinese/bsdconv-opencc/pkg-plist
head/chinese/cless/Makefile
head/chinese/cless/files/patch-aa
head/chinese/cless/pkg-plist
head/chinese/fqterm/Makefile
head/chinese/libchewing/Makefile
head/chinese/libchewing/pkg-plist
head/chinese/libgooglepinyin/Makefile
head/chinese/libpinyin/Makefile
head/chinese/libpinyin/pkg-plist
head/chinese/opencc/Makefile
head/chinese/opencc/pkg-plist
head/chinese/qterm/Makefile
head/chinese/qterm/pkg-plist
Modified: head/chinese/aterm/Makefile
==============================================================================
--- head/chinese/aterm/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/aterm/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -13,11 +13,9 @@ USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xim --enable-big5
-NO_STAGE= yes
post-install:
- @${CHMOD} 4711 ${PREFIX}/bin/aterm
+ @${CHMOD} 4711 ${STAGEDIR}${PREFIX}/bin/aterm
-MAN1= aterm.1
-PLIST_FILES= bin/aterm
+PLIST_FILES= bin/aterm man/man1/aterm.1.gz
.include <bsd.port.mk>
Modified: head/chinese/bsdconv-opencc/Makefile
==============================================================================
--- head/chinese/bsdconv-opencc/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/bsdconv-opencc/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -21,7 +21,6 @@ GH_ACCOUNT= buganini
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
GH_COMMIT= c48c74c
-MAKE_ARGS= PREFIX=${PREFIX}
NO_STAGE= yes
.include <bsd.port.mk>
Added: head/chinese/bsdconv-opencc/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/chinese/bsdconv-opencc/files/patch-Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -0,0 +1,17 @@
+--- Makefile.orig 2013-09-20 02:35:00.000000000 +0800
++++ Makefile 2014-01-07 14:26:54.000000000 +0800
+@@ -35,9 +35,10 @@ clean:
+ rm -rf OPENCC OPENCC.so OPENCC-*
+
+ install:
++ mkdir -p $(DESTDIR)${PREFIX}/share/bsdconv/inter
+ for item in ${CONFIGS} ; do \
+- install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
+- install -m 444 OPENCC-$${item}.so ${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
++ install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
++ install -m 444 OPENCC-$${item}.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
+ done
+- install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC
+- install -m 444 OPENCC.so ${PREFIX}/share/bsdconv/inter/OPENCC.so
++ install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC
++ install -m 444 OPENCC.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC.so
Modified: head/chinese/bsdconv-opencc/pkg-plist
==============================================================================
--- head/chinese/bsdconv-opencc/pkg-plist Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/bsdconv-opencc/pkg-plist Wed Jan 8 15:47:09 2014 (r339152)
@@ -1,5 +1,4 @@
share/bsdconv/inter/OPENCC
-share/bsdconv/inter/OPENCC.so
share/bsdconv/inter/OPENCC-MIX2ZHS
share/bsdconv/inter/OPENCC-MIX2ZHS.so
share/bsdconv/inter/OPENCC-MIX2ZHT
@@ -9,17 +8,17 @@ share/bsdconv/inter/OPENCC-ZHS2ZHT.so
share/bsdconv/inter/OPENCC-ZHS2ZHTW_P
share/bsdconv/inter/OPENCC-ZHS2ZHTW_P.so
share/bsdconv/inter/OPENCC-ZHS2ZHTW_V
+share/bsdconv/inter/OPENCC-ZHS2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP
share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP.so
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHT2ZHS
share/bsdconv/inter/OPENCC-ZHT2ZHS.so
share/bsdconv/inter/OPENCC-ZHT2ZHTW_P
share/bsdconv/inter/OPENCC-ZHT2ZHTW_P.so
share/bsdconv/inter/OPENCC-ZHT2ZHTW_V
+share/bsdconv/inter/OPENCC-ZHT2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP
share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP.so
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S.so
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_T
@@ -28,5 +27,6 @@ share/bsdconv/inter/OPENCC-ZHTW2ZHS
share/bsdconv/inter/OPENCC-ZHTW2ZHS.so
share/bsdconv/inter/OPENCC-ZHTW2ZHT
share/bsdconv/inter/OPENCC-ZHTW2ZHT.so
+share/bsdconv/inter/OPENCC.so
@dirrmtry share/bsdconv/inter
@dirrmtry share/bsdconv
Modified: head/chinese/cless/Makefile
==============================================================================
--- head/chinese/cless/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/cless/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -12,16 +12,13 @@ COMMENT= A better pager utility (and it
GNU_CONFIGURE= yes
CFLAGS+= -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less
CPP= #
-MAN1= cless.1 clesskey.1
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${PREFIX}/share/doc/cless
- ${INSTALL_DATA} ${WRKSRC}/README.CLESS ${PREFIX}/share/doc/cless
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/cless
+ ${INSTALL_DATA} ${WRKSRC}/README.CLESS ${STAGEDIR}${PREFIX}/share/doc/cless
.endif
.include <bsd.port.mk>
Modified: head/chinese/cless/files/patch-aa
==============================================================================
--- head/chinese/cless/files/patch-aa Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/cless/files/patch-aa Wed Jan 8 15:47:09 2014 (r339152)
@@ -1,6 +1,6 @@
---- Makefile.in.orig Mon Apr 24 19:41:39 1995
-+++ Makefile.in Sun Sep 15 22:55:52 1996
-@@ -73,24 +73,24 @@
+--- Makefile.in.orig 1995-04-25 10:41:39.000000000 +0800
++++ Makefile.in 2014-01-08 23:13:25.000000000 +0800
+@@ -73,24 +73,24 @@ lesskey: lesskey.${O} version.${O}
${OBJ}: less.h defines.h funcs.h
filename.${O}: filename.c
@@ -15,16 +15,17 @@
- ${INSTALL_DATA} ${srcdir}/less.gb ${datadir}/less.gb
- ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}less.${manext}
- ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}lesskey.${manext}
-+ ${INSTALL_PROGRAM} less ${bindir}/${binprefix}cless
-+ ${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}clesskey
-+ ${INSTALL_DATA} ${srcdir}/less.hlp ${datadir}/cless.hlp
-+ ${INSTALL_DATA} ${srcdir}/less.bg5 ${datadir}/cless.bg5
-+ ${INSTALL_DATA} ${srcdir}/less.gb ${datadir}/cless.gb
-+ ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}cless.${manext}
-+ ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}clesskey.${manext}
++ ${INSTALL_PROGRAM} less $(DESTDIR)${bindir}/${binprefix}cless
++ ${INSTALL_PROGRAM} lesskey $(DESTDIR)${bindir}/${binprefix}clesskey
++ ${INSTALL_DATA} ${srcdir}/less.hlp $(DESTDIR)${datadir}/cless.hlp
++ ${INSTALL_DATA} ${srcdir}/less.bg5 $(DESTDIR)${datadir}/cless.bg5
++ ${INSTALL_DATA} ${srcdir}/less.gb $(DESTDIR)${datadir}/cless.gb
++ ${INSTALL_DATA} ${srcdir}/less.nro $(DESTDIR)${mandir}/${manprefix}cless.${manext}
++ ${INSTALL_DATA} ${srcdir}/lesskey.nro $(DESTDIR)${mandir}/${manprefix}clesskey.${manext}
installdirs: mkinstalldirs
- ${srcdir}/mkinstalldirs ${bindir} ${datadir} ${mandir}
+- ${srcdir}/mkinstalldirs ${bindir} ${datadir} ${mandir}
++ ${srcdir}/mkinstalldirs $(DESTDIR)${bindir} $(DESTDIR)${datadir} $(DESTDIR)${mandir}
uninstall:
- rm -f ${bindir}/${binprefix}less ${bindir}/${binprefix}lesskey
Modified: head/chinese/cless/pkg-plist
==============================================================================
--- head/chinese/cless/pkg-plist Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/cless/pkg-plist Wed Jan 8 15:47:09 2014 (r339152)
@@ -1,8 +1,10 @@
@comment $FreeBSD$
bin/cless
bin/clesskey
-share/cless.hlp
+man/man1/cless.1.gz
+man/man1/clesskey.1.gz
share/cless.bg5
share/cless.gb
-%%PORTDOCS%%share/doc/cless/README.CLESS
-%%PORTDOCS%%@dirrm share/doc/cless
+share/cless.hlp
+%%PORTDOCS%%%%DOCSDIR%%/README.CLESS
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
Modified: head/chinese/fqterm/Makefile
==============================================================================
--- head/chinese/fqterm/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/fqterm/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -26,8 +26,5 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
DESKTOP_ENTRIES= "FQTerm" "BBS client" "${PREFIX}/share/FQTerm/pic/fqterm.png" \
"fqterm -caption \"%c\" %i %m %u" "Network;Qt;" ""
-NO_STAGE= yes
-post-install:
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Modified: head/chinese/libchewing/Makefile
==============================================================================
--- head/chinese/libchewing/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/libchewing/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -9,8 +9,6 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= clsung at FreeBSD.org
COMMENT= The Chewing intelligent phonetic input method library
-INFO= libchewing
-
USES= gmake pkgconfig pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -18,8 +16,8 @@ USE_BZIP2= yes
DATADIR= ${PREFIX}/share/chewing
PROJECTHOST= chewing
+INFO= libchewing
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
Modified: head/chinese/libchewing/pkg-plist
==============================================================================
--- head/chinese/libchewing/pkg-plist Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/libchewing/pkg-plist Wed Jan 8 15:47:09 2014 (r339152)
@@ -16,5 +16,5 @@ libdata/pkgconfig/chewing.pc
%%DATADIR%%/swkb.dat
%%DATADIR%%/symbols.dat
%%DATADIR%%/us_freq.dat
- at dirrm include/chewing
@dirrm %%DATADIR%%
+ at dirrm include/chewing
Modified: head/chinese/libgooglepinyin/Makefile
==============================================================================
--- head/chinese/libgooglepinyin/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/libgooglepinyin/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -13,5 +13,4 @@ USE_BZIP2= yes
USE_LDCONFIG= yes
USES= cmake
-NO_STAGE= yes
.include <bsd.port.mk>
Modified: head/chinese/libpinyin/Makefile
==============================================================================
--- head/chinese/libpinyin/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/libpinyin/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -9,9 +9,6 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
MAINTAINER= lichray at gmail.com
COMMENT= Library to deal with pinyin
-MAN1= libpinyin.1 gen_binary_files.1 gen_unigram.1 \
- import_interpolation.1
-
USE_BDB= yes
USE_GNOME= glib20
USES= gettext gmake pathfix pkgconfig
@@ -25,7 +22,6 @@ CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}
PLIST_SUB+= VER=${PORTVERSION}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800107
Modified: head/chinese/libpinyin/pkg-plist
==============================================================================
--- head/chinese/libpinyin/pkg-plist Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/libpinyin/pkg-plist Wed Jan 8 15:47:09 2014 (r339152)
@@ -11,6 +11,10 @@ lib/libpinyin.la
lib/libpinyin.so
lib/libpinyin.so.2
libdata/pkgconfig/libpinyin.pc
+man/man1/gen_binary_files.1.gz
+man/man1/gen_unigram.1.gz
+man/man1/import_interpolation.1.gz
+man/man1/libpinyin.1.gz
%%DATADIR%%/data/bigram.db
%%DATADIR%%/data/gb_char.bin
%%DATADIR%%/data/gbk_char.bin
Modified: head/chinese/opencc/Makefile
==============================================================================
--- head/chinese/opencc/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/opencc/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -11,12 +11,9 @@ COMMENT= Open Chinese Convert library an
LICENSE= APACHE20
-MAN1= opencc.1 opencc_dict.1
-
USES= cmake
USE_LDCONFIG= yes
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
Modified: head/chinese/opencc/pkg-plist
==============================================================================
--- head/chinese/opencc/pkg-plist Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/opencc/pkg-plist Wed Jan 8 15:47:09 2014 (r339152)
@@ -8,6 +8,8 @@ lib/libopencc.so
lib/libopencc.so.1
lib/libopencc.so.1.0.0
libdata/pkgconfig/opencc.pc
+man/man1/opencc.1.gz
+man/man1/opencc_dict.1.gz
%%NLS%%share/locale/zh_CN/LC_MESSAGES/opencc.mo
%%NLS%%share/locale/zh_HK/LC_MESSAGES/opencc.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/opencc.mo
@@ -34,11 +36,7 @@ libdata/pkgconfig/opencc.pc
%%DATADIR%%/zhtw2zhcn_t.ini
%%DATADIR%%/zhtw2zhs.ini
%%DATADIR%%/zhtw2zht.ini
-%%NLS%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/zh_TW
+ at dirrm %%DATADIR%%
%%NLS%%@dirrmtry share/locale/zh_HK/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/zh_HK
-%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/zh_CN
- at dirrm %%DATADIR%%
@dirrm include/opencc
Modified: head/chinese/qterm/Makefile
==============================================================================
--- head/chinese/qterm/Makefile Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/qterm/Makefile Wed Jan 8 15:47:09 2014 (r339152)
@@ -27,7 +27,6 @@ PHONON_DESC= Multimedia support via Phon
QTSCRIPT_DESC= Scripting support via QtScript Bindings
KDE_DESC= Password management via KWallet
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
Modified: head/chinese/qterm/pkg-plist
==============================================================================
--- head/chinese/qterm/pkg-plist Wed Jan 8 15:46:48 2014 (r339151)
+++ head/chinese/qterm/pkg-plist Wed Jan 8 15:47:09 2014 (r339152)
@@ -6,38 +6,38 @@ share/icons/hicolor/22x22/apps/qterm.png
share/icons/hicolor/32x32/apps/qterm.png
share/icons/hicolor/48x48/apps/qterm.png
share/icons/hicolor/64x64/apps/qterm.png
-share/qterm/address.xml
-share/qterm/credits
-share/qterm/doc/qterm.qhc
-share/qterm/keyboard_profiles/default.keytab
-share/qterm/keyboard_profiles/linux.keytab
-share/qterm/keyboard_profiles/solaris.keytab
-share/qterm/keyboard_profiles/vt420pc.keytab
-share/qterm/po/qterm_chs.qm
-share/qterm/po/qterm_cht.qm
-share/qterm/qterm.cfg
-share/qterm/scheme/Linux.scheme
-share/qterm/scheme/Softness.scheme
-share/qterm/scheme/VIM.scheme
-share/qterm/scheme/XTerm.scheme
-share/qterm/scheme/default.scheme
-share/qterm/scripts/article.js
-share/qterm/scripts/console.js
-share/qterm/scripts/google.js
-share/qterm/scripts/highlight.js
-share/qterm/scripts/ptt.js
-share/qterm/scripts/senddelay.js
-share/qterm/scripts/smth.js
-share/qterm/scripts/ui/senddelay.ui
-share/qterm/scripts/utils.js
-share/qterm/scripts/websnap.js
- at dirrm share/qterm/scripts/ui
- at dirrm share/qterm/scripts
- at dirrm share/qterm/scheme
- at dirrm share/qterm/po
- at dirrm share/qterm/keyboard_profiles
- at dirrm share/qterm/doc
- at dirrm share/qterm
+%%DATADIR%%/address.xml
+%%DATADIR%%/credits
+%%DATADIR%%/doc/qterm.qhc
+%%DATADIR%%/keyboard_profiles/default.keytab
+%%DATADIR%%/keyboard_profiles/linux.keytab
+%%DATADIR%%/keyboard_profiles/solaris.keytab
+%%DATADIR%%/keyboard_profiles/vt420pc.keytab
+%%DATADIR%%/po/qterm_chs.qm
+%%DATADIR%%/po/qterm_cht.qm
+%%DATADIR%%/qterm.cfg
+%%DATADIR%%/scheme/Linux.scheme
+%%DATADIR%%/scheme/Softness.scheme
+%%DATADIR%%/scheme/VIM.scheme
+%%DATADIR%%/scheme/XTerm.scheme
+%%DATADIR%%/scheme/default.scheme
+%%DATADIR%%/scripts/article.js
+%%DATADIR%%/scripts/console.js
+%%DATADIR%%/scripts/google.js
+%%DATADIR%%/scripts/highlight.js
+%%DATADIR%%/scripts/ptt.js
+%%DATADIR%%/scripts/senddelay.js
+%%DATADIR%%/scripts/smth.js
+%%DATADIR%%/scripts/ui/senddelay.ui
+%%DATADIR%%/scripts/utils.js
+%%DATADIR%%/scripts/websnap.js
+ at dirrm %%DATADIR%%/scripts/ui
+ at dirrm %%DATADIR%%/scripts
+ at dirrm %%DATADIR%%/scheme
+ at dirrm %%DATADIR%%/po
+ at dirrm %%DATADIR%%/keyboard_profiles
+ at dirrm %%DATADIR%%/doc
+ at dirrm %%DATADIR%%
@dirrmtry share/icons/hicolor/64x64/apps
@dirrmtry share/icons/hicolor/64x64
@dirrmtry share/icons/hicolor/48x48/apps
More information about the svn-ports-head
mailing list