aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/dictd/Makefile
blob: 6bd65d9e64a00d8d9ab97a8d25db1173999caece (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
# New ports collection makefile for:    dictd
# Date created:         19 July 2002
# Whom:             Kuang-che Wu <kcwu@ck.tp.edu.tw>
#
# $FreeBSD$
#

CATEGORIES= chinese

MAINTAINER= ports@FreeBSD.org

MASTERDIR=  ${.CURDIR}/../../net/dictd
EXTRA_PATCHES=  ${.CURDIR}/files/patch-index.c \
        ${.CURDIR}/files/patch-libmaa::arg.c \
        ${.CURDIR}/files/patch-dictfmt.c \
        ${.CURDIR}/files/patch-Makefile.in

pre-install:
    ${ECHO} "bin/dictfmt" > ${PLIST}
    ${CAT} ${MASTERDIR}/pkg-plist >> ${PLIST}

.include "${MASTERDIR}/Makefile"

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}tw-
ALL_TARGET+=    dictfmt
INSTALL_TARGET+=install.dictfmt
PLIST=      ${WRKDIR}/PLIST
MAN1+=      dictfmt.1