aboutsummaryrefslogtreecommitdiff
path: root/japanese/sj3-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/sj3-server/Makefile')
-rw-r--r--japanese/sj3-server/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/japanese/sj3-server/Makefile b/japanese/sj3-server/Makefile
index 47e3f38bcf60..fa0fa8acfac0 100644
--- a/japanese/sj3-server/Makefile
+++ b/japanese/sj3-server/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sj3
PORTVERSION= 2.0.1.20
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= japanese
MASTER_SITES= LOCAL/nork
PKGNAMESUFFIX= -server
@@ -15,25 +15,25 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= hrs@FreeBSD.org
COMMENT= Japanese input method, binary part
-LIB_DEPENDS= sj3lib:${PORTSDIR}/japanese/sj3-lib
+LICENSE= MIT
+LICENSE_FILE= ${FILESDIR}/COPYING
+
+LIB_DEPENDS= libsj3lib.so:${PORTSDIR}/japanese/sj3-lib
USES= imake
USE_RC_SUBR= sj3
+PLIST_SUB= USERS=${USERS} GROUPS=${GROUPS}
SUB_FILES= sj3_freebsd.tmpl
SUB_LIST= DESTDIR=${DESTDIR}
CFLAGS+= -Wno-return-type
-
USERS= _sj3
GROUPS= _sj3
-
-MAN1= sj3.1 sj3dic.1 sj3mkdic.1 sj3serv.1
-MANLANG= ja
-MANCOMPRESSED= no
PORTDOCS= Nihongo.ps.Z hinsi.ms makedict.ms sj3lib.ms sj3serv.ms
POSTPATCHES= ${FILESDIR}/post-patch-Imakefile \
${FILESDIR}/post-patch-sj3lib-Imakefile \
${FILESDIR}/post-patch-sj3-sj3.c \
+ ${FILESDIR}/post-patch-dict-dict-Imakefile \
${FILESDIR}/post-patch-include-Const.h \
${FILESDIR}/post-patch-server-setup.c \
${FILESDIR}/post-patch-server-serverrc \
@@ -44,7 +44,6 @@ POSTPATCHES.nodocports= \
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -56,4 +55,7 @@ post-patch:
pre-configure: apply-slist
${INSTALL_DATA} ${WRKDIR}/sj3_freebsd.tmpl ${WRKSRC}/sj3_freebsd.tmpl
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/sj3/dict/user
+
.include <bsd.port.mk>