aboutsummaryrefslogtreecommitdiff
path: root/x11/xcalib
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-25 19:14:43 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-25 19:14:43 +0000
commit198f9722180148687ba7f1b3368727a3b88dd330 (patch)
treec71927c24616b647a0be8594203b80a737a11e2a /x11/xcalib
parent0ed61ead3cd56f04795d1fa76c391e3135aee722 (diff)
downloadports-198f9722180148687ba7f1b3368727a3b88dd330.tar.gz
ports-198f9722180148687ba7f1b3368727a3b88dd330.zip
Notes
Diffstat (limited to 'x11/xcalib')
-rw-r--r--x11/xcalib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile
index 427c25fd12bb..9c3f01dfe8e4 100644
--- a/x11/xcalib/Makefile
+++ b/x11/xcalib/Makefile
@@ -19,6 +19,8 @@ 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
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
${WRKSRC}/Makefile
@@ -28,7 +30,7 @@ do-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/*.icc ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}