aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/kmfl-khmer/Makefile
blob: 8a87b30ba54380e5c5f98b9e30e1b5d9b7313fc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Kuan-Chung Chiu <buganini@gmail.com>
# $FreeBSD$

PORTNAME=   khmer
PORTVERSION=    1.0
CATEGORIES= textproc
MASTER_SITES=   https://github.com/buganini/kmfl-${PORTNAME}/tarball/${PORTVERSION}/
PKGNAMEPREFIX=  kmfl-
DISTNAME=   buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}

MAINTAINER= buganini@gmail.com
COMMENT=    KMFL SCIM IMEngine keyboard for Khmer language

RUN_DEPENDS=    kmflcomp:${PORTSDIR}/textproc/kmflcomp

GITVERSION= a20cc89
WRKSRC=     ${WRKDIR}/buganini-kmfl-${PORTNAME}-${GITVERSION}/kmfl
NO_BUILD=   yes

KMFL_DIR=   share/kmfl
KMFL_ICONS_DIR= share/kmfl/icons

PLIST_FILES=    ${KMFL_DIR}/khmer.kmn \
        ${KMFL_ICONS_DIR}/khmer.bmp

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR}
    ${INSTALL_DATA} ${WRKSRC}/*.kmn ${STAGEDIR}${PREFIX}/${KMFL_DIR}
    ${INSTALL_DATA} ${WRKSRC}/*.bmp ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR}

.include <bsd.port.mk>