svn commit: r338421 - head/graphics/icon-slicer

Rusmir Dusko nemysis at FreeBSD.org
Thu Jan 2 07:54:50 UTC 2014


Author: nemysis
Date: Thu Jan  2 07:54:49 2014
New Revision: 338421
URL: http://svnweb.freebsd.org/changeset/ports/338421

Log:
  - Support STAGEDIR
  - Add DOCS Option
  
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/graphics/icon-slicer/Makefile

Modified: head/graphics/icon-slicer/Makefile
==============================================================================
--- head/graphics/icon-slicer/Makefile	Thu Jan  2 07:20:46 2014	(r338420)
+++ head/graphics/icon-slicer/Makefile	Thu Jan  2 07:54:49 2014	(r338421)
@@ -24,16 +24,13 @@ PLIST_FILES=	bin/icon-slicer
 
 PORTDOCS=	AUTHORS ChangeLog README TODO
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^SUBDIRS/ s|examples||' ${WRKSRC}/Makefile.in
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list