diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 19:14:43 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-03-25 19:14:43 +0000 |
commit | 198f9722180148687ba7f1b3368727a3b88dd330 (patch) | |
tree | c71927c24616b647a0be8594203b80a737a11e2a /x11/xcalib | |
parent | 0ed61ead3cd56f04795d1fa76c391e3135aee722 (diff) | |
download | ports-198f9722180148687ba7f1b3368727a3b88dd330.tar.gz ports-198f9722180148687ba7f1b3368727a3b88dd330.zip |
Notes
Diffstat (limited to 'x11/xcalib')
-rw-r--r-- | x11/xcalib/Makefile | 4 |
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} |