svn commit: r345294 - head/graphics/libemf

Martin Wilke miwi at FreeBSD.org
Fri Feb 21 01:55:45 UTC 2014


Author: miwi
Date: Fri Feb 21 01:55:45 2014
New Revision: 345294
URL: http://svnweb.freebsd.org/changeset/ports/345294
QAT: https://qat.redports.org/buildarchive/r345294/

Log:
  - Stage support
  - Support DOCS

Modified:
  head/graphics/libemf/Makefile

Modified: head/graphics/libemf/Makefile
==============================================================================
--- head/graphics/libemf/Makefile	Fri Feb 21 01:55:26 2014	(r345293)
+++ head/graphics/libemf/Makefile	Fri Feb 21 01:55:45 2014	(r345294)
@@ -9,16 +9,15 @@ MASTER_SITES=	SF
 MAINTAINER=	maho at FreeBSD.org
 COMMENT=	Enhanced Metafile Library
 
+OPTIONS_DEFINE=	DOCS
+
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list