diff -ruN --exclude=CVS /usr/ports/games/secretmaryochronicles/Makefile ./Makefile --- /usr/ports/games/secretmaryochronicles/Makefile 2012-06-24 20:42:39.000000000 +0200 +++ ./Makefile 2012-08-31 02:44:14.000000000 +0200 @@ -6,12 +6,12 @@ # PORTNAME= secretmaryochronicles -PORTVERSION= 1.10.git20120512 -PORTREVISION= 3 +PORTVERSION= 1.10.20120512 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ # SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION} -DISTNAME= smc-${PORTVERSION} +DISTNAME= smc-1.10.git20120512 MAINTAINER= amdmi3@FreeBSD.org COMMENT= Secret Maryo Chronicles two-dimensional platform game @@ -37,22 +37,25 @@ WRKSRC= ${WRKDIR}/smc +PORTDOCS= controls.html history.html style.css + +.include + post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/autogen.sh + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ + -e 's|/usr/share/|${LOCALBASE}/share/|' ${WRKSRC}/autogen.sh run-autotools: cd ${WRKSRC} && ${SH} ./autogen.sh @${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \ ${WRKSRC}/src/Makefile.in -.if !defined(NOPORTDOCS) -PORTDOCS= controls.html style.css - post-install: +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} +. for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR} -.endfor +. endfor .endif .include