diff options
-rw-r--r-- | japanese/skkserv/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/japanese/skkserv/Makefile b/japanese/skkserv/Makefile index f4e025dbfdfe..6ae7fdf05f00 100644 --- a/japanese/skkserv/Makefile +++ b/japanese/skkserv/Makefile @@ -13,18 +13,18 @@ DISTNAME= skk${PORTVERSION} MAINTAINER= matusita@FreeBSD.org -BUILD_DEPENDS= ${NONEXISTENT}:${SKK_MASTERDIR}:configure -RUN_DEPENDS= ${PREFIX}/share/skk/${SKKJISYO}:${SKK_MASTERDIR} +RUN_DEPENDS= ${LOCALBASE}/share/skk/${SKKJISYO}:${PORTSDIR}/japanese/skk-jisyo SKKJISYO_SIZE?= L SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE} -SKK_MASTERDIR= ${.CURDIR}/../../japanese/skk-jisyo -WRKSRC= ${WRKDIRPREFIX}${SKK_MASTERDIR}/work/skk-${PORTVERSION} +WRKSRC= ${WRKDIR}/skk-${PORTVERSION} +GNU_CONFIGURE= yes MAKE_ARGS= SUBDIRS='skkserv' - +CONFIGURE_ARGS+= --with-jisyo=${SKKJISYO} --libexecdir=${PREFIX}/sbin STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/skkserv.sh -post-install: +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/skkserv/skkserv ${PREFIX}/sbin @if [ ! -f ${STARTUP_SCRIPT} ]; then \ ${ECHO} "Installing ${STARTUP_SCRIPT} file."; \ ${ECHO_CMD} "#!/bin/sh" > ${STARTUP_SCRIPT}; \ |