aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/kmfl-khmer/Makefile
blob: 4e5240cf2cd029c03c8166d188d3f25ec784399d (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
32
33
34
35
# 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
FETCH_ARGS= -pRr
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
PLIST_DIRSTRY=  ${KMFL_ICONS_DIR} \
        ${KMFL_DIR}

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

.include <bsd.port.mk>