aboutsummaryrefslogtreecommitdiff
path: root/x11/xcalib/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-13 23:52:55 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-13 23:52:55 +0000
commite1e07bf4b11a25ebdcc4a225dd4a3bf3797146c8 (patch)
tree096d4d394fc252c25edfb29aded961603e56abfc /x11/xcalib/Makefile
parent40f0ccd881e4cbd97f2fe3c0bc08648e04868dc2 (diff)
downloadports-e1e07bf4b11a25ebdcc4a225dd4a3bf3797146c8.tar.gz
ports-e1e07bf4b11a25ebdcc4a225dd4a3bf3797146c8.zip
Support stage
Notes
Notes: svn path=/head/; revision=336399
Diffstat (limited to 'x11/xcalib/Makefile')
-rw-r--r--x11/xcalib/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile
index f3cbea441b6a..a864aed6fa0c 100644
--- a/x11/xcalib/Makefile
+++ b/x11/xcalib/Makefile
@@ -19,23 +19,17 @@ DEFINES= -DXCALIB_VERSION=\"${PORTVERSION}\" -DUNIX
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>