summaryrefslogtreecommitdiffstats
path: root/games/mindfocus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/mindfocus/Makefile')
-rw-r--r--games/mindfocus/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/games/mindfocus/Makefile b/games/mindfocus/Makefile
index 1803b7a..9a56b5a 100644
--- a/games/mindfocus/Makefile
+++ b/games/mindfocus/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mindfocus
PORTVERSION= 0.88
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.toyoshima-house.net/classic/mf/files/
DISTFILES= mindfocus-0.88.tar.gz mindfocus-data1.tar.gz
@@ -19,9 +19,11 @@ USE_IMAKE= yes
USE_XORG= xpm
RESTRICTED= 'contains commercial character data'
+DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
+
post-install:
.for i in mayu.mfc mio.mfc misaki2.mfc mizuka.mfc myu.mfc ryoko.mfc
- ${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/examples/mindfocus
+ ${INSTALL_DATA} ${WRKDIR}/$i ${EXAMPLESDIR}
.endfor
.for i in mayu1.xpm mayu2.xpm mayu3.xpm mayu4.xpm \
mio1.xpm mio2.xpm mio3.xpm mio4.xpm \
@@ -29,16 +31,16 @@ post-install:
mizuka1.xpm mizuka2.xpm mizuka3.xpm mizuka4.xpm \
myu1.xpm myu2.xpm myu3.xpm myu4.xpm \
ryoko1.xpm ryoko2.xpm ryoko3.xpm ryoko4.xpm
- ${INSTALL_DATA} ${WRKDIR}/pixmaps/$i ${PREFIX}/share/examples/mindfocus/pixmaps
+ ${INSTALL_DATA} ${WRKDIR}/pixmaps/$i ${EXAMPLESDIR}/pixmaps
.endfor
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ja/mindfocus
- ${INSTALL_MAN} ${WRKSRC}/doc/HISTORY.euc ${PREFIX}/share/doc/ja/mindfocus
- ${INSTALL_MAN} ${WRKSRC}/doc/MFC.euc ${PREFIX}/share/doc/ja/mindfocus
- ${INSTALL_MAN} ${WRKSRC}/doc/README.euc ${PREFIX}/share/doc/ja/mindfocus
- ${INSTALL_MAN} ${WRKSRC}/doc/SCRIPT.euc ${PREFIX}/share/doc/ja/mindfocus
- ${INSTALL_MAN} ${WRKSRC}/doc/TODO.euc ${PREFIX}/share/doc/ja/mindfocus
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/HISTORY.euc ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/MFC.euc ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/README.euc ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/SCRIPT.euc ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/TODO.euc ${DOCSDIR}
.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud