aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-lzma
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2013-04-25 02:38:35 +0800
committersbz <sbz@FreeBSD.org>2013-04-25 02:38:35 +0800
commit14ad9938ca75de27a7fefb8868be7caf93e5ad70 (patch)
treec6c42dc1b2fd530d7cb82c03c638a5d5dfe6984c /archivers/py-lzma
parent559cc0831dc9db2e9dc94aadd2190b92787b613f (diff)
downloadfreebsd-ports-gnome-14ad9938ca75de27a7fefb8868be7caf93e5ad70.tar.gz
freebsd-ports-gnome-14ad9938ca75de27a7fefb8868be7caf93e5ad70.tar.zst
freebsd-ports-gnome-14ad9938ca75de27a7fefb8868be7caf93e5ad70.zip
- Convert to new option framework
Diffstat (limited to 'archivers/py-lzma')
-rw-r--r--archivers/py-lzma/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/archivers/py-lzma/Makefile b/archivers/py-lzma/Makefile
index 69a38b67b1f5..0c6f295010b5 100644
--- a/archivers/py-lzma/Makefile
+++ b/archivers/py-lzma/Makefile
@@ -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@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-${PORTNAME}
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