View | Details | Raw Unified | Return to bug 40289 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/misc/libmcal/Makefile (-3 / +6 lines)
Lines 20-25 Link Here
20
HAS_CONFIGURE=	yes
20
HAS_CONFIGURE=	yes
21
USE_LIBTOOL=	yes
21
USE_LIBTOOL=	yes
22
USE_GMAKE=	yes
22
USE_GMAKE=	yes
23
USE_REINPLACE=	yes
23
CONFIGURE_ARGS=	--with-mstore --with-icap \
24
CONFIGURE_ARGS=	--with-mstore --with-icap \
24
		--prefix=${PREFIX} --exec-prefix=${PREFIX}
25
		--prefix=${PREFIX} --exec-prefix=${PREFIX}
25
INSTALLS_SHLIB=	yes
26
INSTALLS_SHLIB=	yes
Lines 43-49 Link Here
43
	${MV} ${WRKSRC}/mstore/README ${WRKSRC}/mstore/README.mstore
44
	${MV} ${WRKSRC}/mstore/README ${WRKSRC}/mstore/README.mstore
44
45
45
post-patch:
46
post-patch:
46
	${PERL} -pi -e "s:/etc/mpasswd:${PREFIX}/etc/mpasswd:" ${WRKSRC}/mstore/mstore.c
47
	${REINPLACE_CMD} -e "s:/etc/mpasswd:${PREFIX}/etc/mpasswd:" ${WRKSRC}/mstore/mstore.c
47
48
48
pre-configure:
49
pre-configure:
49
	@${ECHO_MSG} "===>  Building the driver mstore"
50
	@${ECHO_MSG} "===>  Building the driver mstore"
Lines 55-62 Link Here
55
56
56
post-install:
57
post-install:
57
.if !defined(NOPORTDOCS)
58
.if !defined(NOPORTDOCS)
58
	${PERL} -pi -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" ${WRKSRC}/FAQ-MCAL
59
	${REINPLACE_CMD} -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" \
59
	${PERL} -pi -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" ${WRKSRC}/mstore/README.mstore
60
		${WRKSRC}/FAQ-MCAL
61
	${REINPLACE_CMD} -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" \
62
		${WRKSRC}/mstore/README.mstore
60
	${MKDIR} ${DOCSDIR}
63
	${MKDIR} ${DOCSDIR}
61
.for FILE in ${DOCS}
64
.for FILE in ${DOCS}
62
	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
65
	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}

Return to bug 40289