diff --git a/games/atanks/Makefile b/games/atanks/Makefile index 09da7c104d48..c53a20469b99 100644 --- a/games/atanks/Makefile +++ b/games/atanks/Makefile @@ -19,6 +19,10 @@ PORTDOCS= Changelog README README_ru.txt credits.txt OPTIONS_DEFINE= DOCS +post-patch: + @${REINPLACE_CMD} -e '/"optionitembase\.h"/ { x; s,^,#include\ + "button.h",; G; }' ${WRKSRC}/src/optionitem.h + post-install: ${LN} -sf ../../share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/