aboutsummaryrefslogtreecommitdiff
path: root/www/llgal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/llgal/Makefile')
-rw-r--r--www/llgal/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/llgal/Makefile b/www/llgal/Makefile
index e8efa11de608..13a2dccfcd18 100644
--- a/www/llgal/Makefile
+++ b/www/llgal/Makefile
@@ -26,4 +26,11 @@ USE_PERL5= yes
USE_GMAKE= yes
USE_GETTEXT= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-configure:
+ sed -e "s,@VERSION@,${PORTVERSION}," < ${WRKSRC}/lib/Makefile.PL.in > ${WRKSRC}/lib/Makefile.PL
+ cd ${WRKSRC}/lib; ${PERL} Makefile.PL
+ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install//' ${WRKSRC}/lib/Makefile
+
+.include <bsd.port.post.mk>