diff options
author | pawel <pawel@FreeBSD.org> | 2014-05-12 05:09:04 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-05-12 05:09:04 +0800 |
commit | a6a79f18471e8b05522929ff3e3ec1810e9b47bd (patch) | |
tree | 59f4eb8fac0646c7a72aa0725f875fea78db1a85 /japanese/mypaedia-fpw-package | |
parent | e907d490fe0a87df0fc59c69acbb7f160813e42f (diff) | |
download | freebsd-ports-graphics-a6a79f18471e8b05522929ff3e3ec1810e9b47bd.tar.gz freebsd-ports-graphics-a6a79f18471e8b05522929ff3e3ec1810e9b47bd.tar.zst freebsd-ports-graphics-a6a79f18471e8b05522929ff3e3ec1810e9b47bd.zip |
- Add staging support
- Remove leading article from COMMENT
- Define DOCS option
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> |