Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 22:40:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395916 - head/x11/lupe
Message-ID:  <201509022240.t82MeEnE067035@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep  2 22:40:14 2015
New Revision: 395916
URL: https://svnweb.freebsd.org/changeset/ports/395916

Log:
  - Switch to options helpers

Modified:
  head/x11/lupe/Makefile

Modified: head/x11/lupe/Makefile
==============================================================================
--- head/x11/lupe/Makefile	Wed Sep  2 22:39:49 2015	(r395915)
+++ head/x11/lupe/Makefile	Wed Sep  2 22:40:14 2015	(r395916)
@@ -23,8 +23,6 @@ LDFLAGS+=	-L${LOCALBASE}/lib -lX11 -lXex
 PORTDOCS=	${PORTNAME}.doc
 PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
-.include <bsd.port.options.mk>
-
 post-extract:
 	@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.1
 
@@ -35,9 +33,9 @@ do-build:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509022240.t82MeEnE067035>