svn commit: r316468 - head/archivers/py-lzma

Sofian Brabez sbz at FreeBSD.org
Wed Apr 24 18:38:36 UTC 2013


Author: sbz
Date: Wed Apr 24 18:38:35 2013
New Revision: 316468
URL: http://svnweb.freebsd.org/changeset/ports/316468

Log:
  - Convert to new option framework

Modified:
  head/archivers/py-lzma/Makefile   (contents, props changed)

Modified: head/archivers/py-lzma/Makefile
==============================================================================
--- head/archivers/py-lzma/Makefile	Wed Apr 24 18:25:56 2013	(r316467)
+++ head/archivers/py-lzma/Makefile	Wed Apr 24 18:38:35 2013	(r316468)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	py-lzma
-# Date created:		28 May 2004
-# Whom:			Hye-Shik Chang
-#
+# Created by: Hye-Shik Chang
 # $FreeBSD$
-#
 
 PORTNAME=	lzma
 PORTVERSION=	0.4.4
@@ -16,7 +12,6 @@ MAINTAINER=	sbz at FreeBSD.org
 COMMENT=	Python binding for the LZMA compression library
 
 LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 ONLY_FOR_ARCHS=	i386
 
@@ -31,8 +26,10 @@ DOCSDIR=	${PREFIX}/share/doc/py-${PORTNA
 
 PORTDOCS=	usage.txt
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
 post-install:
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
 .endif


More information about the svn-ports-head mailing list