1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2013-12-13 23:52:55 +00:00
parent 40f0ccd881
commit e1e07bf4b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336399

View File

@ -19,23 +19,17 @@ DEFINES= -DXCALIB_VERSION=\"${PORTVERSION}\" -DUNIX
LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib -lm -lX11 -lXxf86vm -lXext LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib -lm -lX11 -lXxf86vm -lXext
CFLAGS+= -I./icclib -I${LOCALBASE}/include -I${LOCALBASE}/include CFLAGS+= -I./icclib -I${LOCALBASE}/include -I${LOCALBASE}/include
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch: post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
${WRKSRC}/Makefile ${WRKSRC}/Makefile
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.icc ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/*.icc ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS} .for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor .endfor
.endif
.include <bsd.port.mk> .include <bsd.port.mk>