aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/bug5/Makefile
blob: b6c71fc2ebca94a601df7c5b1c9332613ecb476f (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
# New ports collection makefile for:    bug5
# Date created:                         25 April 2011
# Whom:                 buganini@gmail.com
#
# $FreeBSD$
#

PORTNAME=   bug5
PORTVERSION=    1.6
CATEGORIES= chinese converters
MASTER_SITES=   https://github.com/buganini/${PORTNAME}/tarball/${PORTVERSION}/
DISTNAME=   buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}

MAINTAINER= buganini@gmail.com
COMMENT=    A Big5 <-> UTF-8 translating layer in terminal

LICENSE=    BSD

LIB_DEPENDS=    bsdconv.6:${PORTSDIR}/converters/bsdconv

GITVERSION= a604e2f
FETCH_ARGS= -pRr
WRKSRC=     ${WRKDIR}/buganini-${PORTNAME}-${GITVERSION}

PLIST_FILES=    bin/bug5

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bug5 ${PREFIX}/bin/

.include <bsd.port.mk>