diff options
Diffstat (limited to 'japanese/mypaedia-fpw-package')
-rw-r--r-- | japanese/mypaedia-fpw-package/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/japanese/mypaedia-fpw-package/Makefile b/japanese/mypaedia-fpw-package/Makefile index fe703542f24..390184c8902 100644 --- a/japanese/mypaedia-fpw-package/Makefile +++ b/japanese/mypaedia-fpw-package/Makefile @@ -8,7 +8,7 @@ CATEGORIES= japanese elisp MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/mypaedia/ MAINTAINER= ports@FreeBSD.org -COMMENT= A supplement file to use "mypaedia" on lookup +COMMENT= Supplement file to use "mypaedia" on lookup RUN_DEPENDS= sox:${PORTSDIR}/audio/sox \ timidity:${PORTSDIR}/audio/timidity++ \ @@ -18,18 +18,16 @@ RUN_DEPENDS= sox:${PORTSDIR}/audio/sox \ NO_BUILD= yes PLIST_SUB= PKGNAME=${PKGNAME} -PKG_DIR= ${PREFIX}/share/dict/lookup-package +PKG_DIR= ${STAGEDIR}${PREFIX}/share/dict/lookup-package + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-install: - ${MKDIR} ${PKG_DIR} + @${MKDIR} ${PKG_DIR} ${INSTALL_DATA} ${WRKSRC}/mypaedia-fpw.el ${PKG_DIR} ${INSTALL_SCRIPT} ${WRKSRC}/extract-mypaedia.pl ${PKG_DIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for file in ChangeLog README.TXT - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog README.TXT \ + ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |