aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-11-01 03:56:24 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-11-01 03:56:24 +0800
commit24d5377a660e938d72e40d3d7386d01b857b81bd (patch)
tree41b727c1040744ce6c2cf17e05b812a5f1dc3e7e
parentf840fb2792d409e9e28699091c4f0d8bb3e29def (diff)
downloadfreebsd-ports-gnome-24d5377a660e938d72e40d3d7386d01b857b81bd.tar.gz
freebsd-ports-gnome-24d5377a660e938d72e40d3d7386d01b857b81bd.tar.zst
freebsd-ports-gnome-24d5377a660e938d72e40d3d7386d01b857b81bd.zip
- Simplify installation
- Drop @dirrm* from plist
-rw-r--r--games/mindfocus/Makefile20
-rw-r--r--games/mindfocus/pkg-plist4
2 files changed, 3 insertions, 21 deletions
diff --git a/games/mindfocus/Makefile b/games/mindfocus/Makefile
index 8c84c5a92394..d083df36a4f9 100644
--- a/games/mindfocus/Makefile
+++ b/games/mindfocus/Makefile
@@ -21,24 +21,10 @@ OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.for i in mayu.mfc mio.mfc misaki2.mfc mizuka.mfc myu.mfc ryoko.mfc
- ${INSTALL_DATA} ${WRKDIR}/$i ${STAGEDIR}${EXAMPLESDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKDIR}/*.mfc ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/pixmaps
-.for i in mayu1.xpm mayu2.xpm mayu3.xpm mayu4.xpm \
- mio1.xpm mio2.xpm mio3.xpm mio4.xpm \
- misaki2-1.xpm misaki2-2.xpm misaki2-3.xpm misaki2-4.xpm \
- 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 ${STAGEDIR}${EXAMPLESDIR}/pixmaps
-.endfor
-
+ ${INSTALL_DATA} ${WRKDIR}/pixmaps/*.xpm ${STAGEDIR}${EXAMPLESDIR}/pixmaps
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/HISTORY.euc ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/MFC.euc ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/README.euc ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/SCRIPT.euc ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/TODO.euc ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.euc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/mindfocus/pkg-plist b/games/mindfocus/pkg-plist
index 87e2c4c4b426..97e3eb00ca87 100644
--- a/games/mindfocus/pkg-plist
+++ b/games/mindfocus/pkg-plist
@@ -51,7 +51,3 @@ bin/mindfocus
%%PORTDOCS%%%%DOCSDIR%%/README.euc
%%PORTDOCS%%%%DOCSDIR%%/SCRIPT.euc
%%PORTDOCS%%%%DOCSDIR%%/TODO.euc
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pixmaps
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/scripts
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%