svn commit: r336399 - head/x11/xcalib

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 13 23:52:56 UTC 2013


Author: bapt
Date: Fri Dec 13 23:52:55 2013
New Revision: 336399
URL: http://svnweb.freebsd.org/changeset/ports/336399

Log:
  Support stage

Modified:
  head/x11/xcalib/Makefile

Modified: head/x11/xcalib/Makefile
==============================================================================
--- head/x11/xcalib/Makefile	Fri Dec 13 23:51:48 2013	(r336398)
+++ head/x11/xcalib/Makefile	Fri Dec 13 23:52:55 2013	(r336399)
@@ -19,23 +19,17 @@ DEFINES=	-DXCALIB_VERSION=\"${PORTVERSIO
 LDFLAGS+=	-L${LOCALBASE}/lib -L${LOCALBASE}/lib -lm -lX11 -lXxf86vm -lXext
 CFLAGS+=	-I./icclib -I${LOCALBASE}/include -I${LOCALBASE}/include
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
 	    ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.icc ${EXAMPLESDIR}
-
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.icc ${STAGEDIR}${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list