aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/dictd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/dictd/Makefile')
-rw-r--r--chinese/dictd/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/chinese/dictd/Makefile b/chinese/dictd/Makefile
index 47100328d7b7..6abec4ab7c0b 100644
--- a/chinese/dictd/Makefile
+++ b/chinese/dictd/Makefile
@@ -11,8 +11,17 @@ MAINTAINER= kcwu@ck.tp.edu.tw
MASTERDIR= ${.CURDIR}/../../net/dictd
EXTRA_PATCHES= ${.CURDIR}/files/patch-index.c \
- ${.CURDIR}/files/patch-libmaa::arg.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