svn commit: r366042 - head/japanese/edict-utf-8
Vanilla I. Shu
vanilla at FreeBSD.org
Mon Aug 25 08:13:45 UTC 2014
Author: vanilla
Date: Mon Aug 25 08:13:44 2014
New Revision: 366042
URL: http://svnweb.freebsd.org/changeset/ports/366042
QAT: https://qat.redports.org/buildarchive/r366042/
Log:
Stagify.
Added:
head/japanese/edict-utf-8/pkg-plist (contents, props changed)
Modified:
head/japanese/edict-utf-8/Makefile
Modified: head/japanese/edict-utf-8/Makefile
==============================================================================
--- head/japanese/edict-utf-8/Makefile Mon Aug 25 08:11:48 2014 (r366041)
+++ head/japanese/edict-utf-8/Makefile Mon Aug 25 08:13:44 2014 (r366042)
@@ -14,15 +14,12 @@ EXTRACT_DEPENDS= ${UNZIP_CMD}:${PORTSDIR
USES= iconv
CONVERT_CMD= ${ICONV_CMD} -c -f EUC-JP -t UTF-8
-
DIST_SUBDIR= ${PORTNAME}
-
DICTFILES= edict.gz edicth compdic.gz jddict.v02.gz \
j_places.gz ediclsd3.zip kanjidic.gz kanjd212.gz \
lawgledt.zip lingdic.zip geodic.gz pandpdic.zip \
aviation.zip findic.zip mktdic.zip compverb.gz \
4jwords.gz concrete.zip enamdict.gz
-
NODOCFILES= edict_doc.txt edict_doc.html edicth.doc \
enamdict_doc.txt enamdict_doc.html jddict.doc \
j_places.inf kanjidic.doc kanjd212.doc ediclsd3.rme \
@@ -30,17 +27,12 @@ NODOCFILES= edict_doc.txt edict_doc.html
findic.doc mktdic.doc compverb.doc 4jwords.doc \
concrete.doc ${DICTFILES:S/zip/jdx/}
-PLIST_FILES= ${DICTFILES:S|^|%%DATADIR%%/|:S|.gz||:S|.zip||}
-PLIST_DIRS= %%DATADIR%%
-
# Where to install the data files
DATADIR= ${PREFIX}/share/dict/edict-utf-8
+PLIST_SUB= OWNER="${SHAREOWN}" GROUP="${SHAREGRP}" MODE="${SHAREMODE}"
NO_WRKSUBDIR= yes
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@@ -71,14 +63,10 @@ do-build:
done
do-install:
- @if [ ! -d ${DATADIR} ] ; \
- then \
- ${MKDIR} ${DATADIR} ; \
- fi
+ @${MKDIR} ${STAGEDIR}${DATADIR}
@for file in `cat ${WRKSRC}/filelist`; do \
${ECHO} "Installing $$file"; \
- ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
- ${WRKSRC}/$$file ${DATADIR}/$$file; \
+ ${INSTALL} ${WRKSRC}/$$file ${STAGEDIR}${DATADIR}/$$file; \
done
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Added: head/japanese/edict-utf-8/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/japanese/edict-utf-8/pkg-plist Mon Aug 25 08:13:44 2014 (r366042)
@@ -0,0 +1,26 @@
+ at owner %%OWNER%%
+ at group %%GROUP%%
+ at mode %%MODE%%
+%%DATADIR%%/4jwords
+%%DATADIR%%/aviation
+%%DATADIR%%/compdic
+%%DATADIR%%/compverb
+%%DATADIR%%/concrete
+%%DATADIR%%/ediclsd3
+%%DATADIR%%/edict
+%%DATADIR%%/edicth
+%%DATADIR%%/enamdict
+%%DATADIR%%/findic
+%%DATADIR%%/geodic
+%%DATADIR%%/j_places
+%%DATADIR%%/jddict.v02
+%%DATADIR%%/kanjd212
+%%DATADIR%%/kanjidic
+%%DATADIR%%/lawgledt
+%%DATADIR%%/lingdic
+%%DATADIR%%/mktdic
+%%DATADIR%%/pandpdic
+ at mode
+ at group
+ at owner
+ at dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list