Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= kmfl-sil-panafrican-latin |
4 |
PORTNAME= kmfl-sil-panafrican-latin |
5 |
PORTVERSION= 20090831 |
5 |
PORTVERSION= 20090831 |
6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 4 |
7 |
CATEGORIES= textproc |
7 |
CATEGORIES= textproc |
8 |
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php\?site_id=nrsi\&format=file\&media_id=AfricaKeyboardDead2009\&filename=/:1 \ |
8 |
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php\?site_id=nrsi\&format=file\&media_id=AfricaKeyboardDead2009\&filename=/:1 \ |
9 |
http://scripts.sil.org/cms/scripts/render_download.php\?site_id=nrsi\&format=file\&media_id=AfricaKeyboardUS2009\&filename=/:2 \ |
9 |
http://scripts.sil.org/cms/scripts/render_download.php\?site_id=nrsi\&format=file\&media_id=AfricaKeyboardUS2009\&filename=/:2 \ |
Lines 22-73
Link Here
|
22 |
PanAfricaUSlayout/AfricaUS.kmn |
22 |
PanAfricaUSlayout/AfricaUS.kmn |
23 |
NO_BUILD= yes |
23 |
NO_BUILD= yes |
24 |
|
24 |
|
25 |
DOCSDIR_REL= share/doc/kmfl/${PORTNAME} |
25 |
OPTIONS_DEFINE= DOCS |
26 |
DOCSDIR= ${PREFIX}/${DOCSDIR_REL} |
26 |
DOCSDIR= share/doc/kmfl/${PORTNAME} |
|
|
27 |
DOCSLIST= PanAfricaMnemonic/SIL\ Unicode\ Keyboard\ Chart\ for\ Africa\ using\ deadkeys.pdf \ |
28 |
PanAfricaUSlayout/SIL\ Unicode\ Keyboard\ Chart\ for\ Africa\ using\ shiftkeys.pdf |
29 |
|
27 |
KMFL_DIR= share/kmfl |
30 |
KMFL_DIR= share/kmfl |
28 |
KMFL_ICONS_DIR= share/kmfl/icons |
31 |
KMFL_ICONS_DIR= share/kmfl/icons |
29 |
|
32 |
|
30 |
NO_STAGE= yes |
33 |
SUB_FILES= pkg-message |
|
|
34 |
|
31 |
post-patch: |
35 |
post-patch: |
32 |
@${REINPLACE_CMD} -e 's|^BITMAP AFR|BITMAP AFR.bmp|' \ |
36 |
@${REINPLACE_CMD} -e 's|^BITMAP AFR|BITMAP AFR.bmp|' \ |
33 |
${WRKSRC}/PanAfricaMnemonic/AfricaDeadKey.kmn \ |
37 |
${WRKSRC}/PanAfricaMnemonic/AfricaDeadKey.kmn \ |
34 |
${WRKSRC}/PanAfricaUSlayout/AfricaUS.kmn |
38 |
${WRKSRC}/PanAfricaUSlayout/AfricaUS.kmn |
35 |
|
39 |
|
36 |
PORTDOCS= * |
|
|
37 |
DOCSLIST= PanAfricaMnemonic/SIL\ Unicode\ Keyboard\ Chart\ for\ Africa\ using\ deadkeys.pdf \ |
38 |
PanAfricaUSlayout/SIL\ Unicode\ Keyboard\ Chart\ for\ Africa\ using\ shiftkeys.pdf |
39 |
|
40 |
PLIST_FILES= ${KMFL_DIR}/AfricaDeadKey.kmn \ |
41 |
${KMFL_DIR}/AfricaUS.kmn \ |
42 |
${KMFL_ICONS_DIR}/AFR.bmp |
43 |
PLIST_DIRSTRY= ${KMFL_ICONS_DIR} \ |
44 |
${KMFL_DIR} |
45 |
|
46 |
do-install: |
40 |
do-install: |
47 |
${MKDIR} ${LOCALBASE}/${KMFL_DIR} ${LOCALBASE}/${KMFL_ICONS_DIR} |
41 |
${MKDIR} ${STAGEDIR}${PREFIX}/${KMFL_DIR} ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR} |
48 |
${INSTALL_DATA} ${WRKSRC}/PanAfricaMnemonic/*.kmn \ |
42 |
${INSTALL_DATA} ${WRKSRC}/PanAfricaMnemonic/*.kmn \ |
49 |
${LOCALBASE}/${KMFL_DIR} |
43 |
${STAGEDIR}${PREFIX}/${KMFL_DIR} |
50 |
${INSTALL_DATA} ${WRKSRC}/PanAfricaUSlayout/*.kmn \ |
44 |
${INSTALL_DATA} ${WRKSRC}/PanAfricaUSlayout/*.kmn \ |
51 |
${LOCALBASE}/${KMFL_DIR} |
45 |
${STAGEDIR}${PREFIX}/${KMFL_DIR} |
52 |
${INSTALL_DATA} ${WRKSRC}/PanAfricaMnemonic/*.bmp \ |
46 |
${INSTALL_DATA} ${WRKSRC}/PanAfricaMnemonic/*.bmp \ |
53 |
${LOCALBASE}/${KMFL_ICONS_DIR} |
47 |
${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR} |
54 |
.if !defined(NOPORTDOCS) |
48 |
${MKDIR} ${STAGEDIR}${PREFIX}/${DOCSDIR:S,/${PORTNAME},,} \ |
55 |
${MKDIR} ${DOCSDIR} |
49 |
${STAGEDIR}${PREFIX}/${DOCSDIR} |
56 |
for doc in ${DOCSLIST} ; do \ |
50 |
for doc in ${DOCSLIST} ; do \ |
57 |
${INSTALL_DATA} "${WRKSRC}/$$doc" ${DOCSDIR} ; \ |
51 |
${INSTALL_DATA} "${WRKSRC}/$$doc" ${STAGEDIR}${PREFIX}/${DOCSDIR} ; \ |
58 |
done |
52 |
done |
59 |
.endif |
|
|
60 |
|
53 |
|
61 |
post-install: |
|
|
62 |
@${ECHO_MSG} "--------------------------------------------------------" |
63 |
@${ECHO_MSG} " You should now have the new keyboard in the section" |
64 |
@${ECHO_MSG} " \"Others\" in your SCIM/IBus menu. If you don't see it," |
65 |
@${ECHO_MSG} " restart X." |
66 |
.if !defined(NOPORTDOCS) |
67 |
@${ECHO_MSG} |
68 |
@${ECHO_MSG} " The documentation is installed into:" |
69 |
@${ECHO_MSG} " ${DOCSDIR}" |
70 |
.endif |
71 |
@${ECHO_MSG} "--------------------------------------------------------" |
72 |
|
73 |
.include <bsd.port.mk> |
54 |
.include <bsd.port.mk> |