Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2013 20:36:26 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316273 - head/graphics/hobbes-icons-xpm
Message-ID:  <201304222036.r3MKaQo3095139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Mon Apr 22 20:36:25 2013
New Revision: 316273
URL: http://svnweb.freebsd.org/changeset/ports/316273

Log:
  - use bsd.port.options.mk
  PR:		177324

Modified:
  head/graphics/hobbes-icons-xpm/Makefile

Modified: head/graphics/hobbes-icons-xpm/Makefile
==============================================================================
--- head/graphics/hobbes-icons-xpm/Makefile	Mon Apr 22 20:35:19 2013	(r316272)
+++ head/graphics/hobbes-icons-xpm/Makefile	Mon Apr 22 20:36:25 2013	(r316273)
@@ -16,18 +16,20 @@ NO_BUILD=	yes
 # Where it will be installed (change pkg/PLIST if you change this)
 LIBDIR=		${PREFIX}/include/X11/pixmaps
 
+.include <bsd.port.options.mk>
+
 do-install:
-	@${MKDIR} ${LIBDIR}
+	${MKDIR} ${LIBDIR}
 	${CP} -R ${WRKSRC}/* ${LIBDIR}
 	${CHOWN} -R ${BINOWN}:${BINGRP} ${LIBDIR}
 	-${RM} ${LIBDIR}/README
 	-${RM} ${LIBDIR}/readem.shar
 
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	@${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>



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