svn commit: r395916 - head/x11/lupe

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 2 22:40:15 UTC 2015


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>


More information about the svn-ports-all mailing list