svn commit: r314504 - head/x11/vdesk

Eitan Adler eadler at FreeBSD.org
Sun Mar 17 23:48:02 UTC 2013


Author: eadler
Date: Sun Mar 17 23:48:01 2013
New Revision: 314504
URL: http://svnweb.freebsd.org/changeset/ports/314504

Log:
  Simplify port:
  - remove inert code that attempted to remove a ./configure file
  - convert to OptionsNG

Modified:
  head/x11/vdesk/Makefile

Modified: head/x11/vdesk/Makefile
==============================================================================
--- head/x11/vdesk/Makefile	Sun Mar 17 23:29:57 2013	(r314503)
+++ head/x11/vdesk/Makefile	Sun Mar 17 23:48:01 2013	(r314504)
@@ -13,7 +13,9 @@ COMMENT=	Command-line utility for settin
 DOCS=		AUTHORS COPYING ChangeLog INSTALL NEWS README
 PLIST_DIRS=	share/doc/vdesk
 PLIST_FILES=	bin/vdesk
-.if !defined(NOPORTDOCS)
+
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}	
 .for ii in ${DOCS}
 PLIST_FILES+=	share/doc/vdesk/${ii}
 .endfor
@@ -21,13 +23,9 @@ PLIST_FILES+=	share/doc/vdesk/${ii}
 USE_AUTOTOOLS=	autoconf
 USE_XORG=	x11
 
-post-extract:
-# Avoid having to read this lengthy file.
-	${RM} ${WRKSRC}/configure
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}	
 	${MKDIR} ${DOCSDIR}
 .for ii in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}


More information about the svn-ports-all mailing list