View | Details | Raw Unified | Return to bug 171194
Collapse All | Expand All

(-)./Makefile (-9 / +12 lines)
Lines 6-17 Link Here
6
#
6
#
7
7
8
PORTNAME=	secretmaryochronicles
8
PORTNAME=	secretmaryochronicles
9
PORTVERSION=	1.10.git20120512
9
PORTVERSION=	1.10.20120512
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
12
MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
13
#		SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION}
13
#		SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION}
14
DISTNAME=	smc-${PORTVERSION}
14
DISTNAME=	smc-1.10.git20120512
15
15
16
MAINTAINER=	amdmi3@FreeBSD.org
16
MAINTAINER=	amdmi3@FreeBSD.org
17
COMMENT=	Secret Maryo Chronicles two-dimensional platform game
17
COMMENT=	Secret Maryo Chronicles two-dimensional platform game
Lines 37-58 Link Here
37
37
38
WRKSRC=		${WRKDIR}/smc
38
WRKSRC=		${WRKDIR}/smc
39
39
40
PORTDOCS=	controls.html history.html style.css
41
42
.include <bsd.port.options.mk>
43
40
post-patch:
44
post-patch:
41
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/autogen.sh
45
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
46
	-e 's|/usr/share/|${LOCALBASE}/share/|' ${WRKSRC}/autogen.sh
42
47
43
run-autotools:
48
run-autotools:
44
	cd ${WRKSRC} && ${SH} ./autogen.sh
49
	cd ${WRKSRC} && ${SH} ./autogen.sh
45
	@${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \
50
	@${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \
46
		${WRKSRC}/src/Makefile.in
51
		${WRKSRC}/src/Makefile.in
47
52
48
.if !defined(NOPORTDOCS)
49
PORTDOCS=	controls.html style.css
50
51
post-install:
53
post-install:
54
.if ${PORT_OPTIONS:MDOCS}
52
	${MKDIR} ${DOCSDIR}
55
	${MKDIR} ${DOCSDIR}
53
.for f in ${PORTDOCS}
56
.  for f in ${PORTDOCS}
54
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
57
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
55
.endfor
58
.  endfor
56
.endif
59
.endif
57
60
58
.include <bsd.port.mk>
61
.include <bsd.port.mk>

Return to bug 171194