diff options
Diffstat (limited to 'inputmethod/canna-server-bin/Makefile')
-rw-r--r-- | inputmethod/canna-server-bin/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/inputmethod/canna-server-bin/Makefile b/inputmethod/canna-server-bin/Makefile index 3aa07fb887a..33f2955e9f4 100644 --- a/inputmethod/canna-server-bin/Makefile +++ b/inputmethod/canna-server-bin/Makefile @@ -1,13 +1,18 @@ -# $NetBSD: Makefile,v 1.5 2003/05/31 08:28:35 uebayasi Exp $ +# $NetBSD: Makefile,v 1.6 2003/07/29 19:42:54 jmmv Exp $ # .include "../canna/Makefile.common" +PKGREVISION= 1 + CANNA_MODULE= server-bin USE_BUILDLINK2= # defined +USE_PKGINSTALL= YES INSTALL_TARGET= instserver -OWN_DIRS= ${CANNA_SPOOL} +OWN_DIRS_PERMS= ${CANNA_SPOOL} ${CANNA_OWNER} ${CANNA_GROUP} ${CANNA_MODE} + +RCD_SCRIPTS= canna post-patch: ${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig @@ -21,19 +26,11 @@ post-patch: do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF} -post-build: - @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/canna \ - > ${WRKDIR}/canna - post-install: @${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL @${INSTALL_SCRIPT} ${WRKDIR}/canna ${PREFIX}/etc/rc.d/canna - @${INSTALL_DATA_DIR} ${CANNA_SPOOL} - @${CHMOD} ${CANNA_MODE} ${CANNA_SPOOL} - @${CHOWN} ${CANNA_OWNER}:${CANNA_GROUP} ${CANNA_SPOOL} .include "../../devel/nbitools/buildlink2.mk" .include "../../inputmethod/canna-lib/buildlink2.mk" -.include "../../mk/bsd.pkg.install.mk" .include "../canna/Makefile.include" |