aboutsummaryrefslogtreecommitdiffstats
path: root/games/trophy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/trophy/Makefile')
-rw-r--r--games/trophy/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/trophy/Makefile b/games/trophy/Makefile
index bb13f7bc9fbc..84021081c2d3 100644
--- a/games/trophy/Makefile
+++ b/games/trophy/Makefile
@@ -24,16 +24,12 @@ PORTDOCS= AUTHORS COPYING ChangeLog README TODO
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-pre-configure:
+post-patch:
${REINPLACE_CMD} -e "/^icondir =/s,icons,pixmaps," \
${WRKSRC}/resources/Makefile.in
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>