aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/lv/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/misc/lv/Makefile b/misc/lv/Makefile
index f92f4e1679a4..b71e5cc08a0b 100644
--- a/misc/lv/Makefile
+++ b/misc/lv/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: lv
-# Date created: Fri Nov 6 09:06:33 PST 1998
-# Whom: sumikawa@FreeBSD.org
-#
+# Created by: sumikawa@FreeBSD.org
# $FreeBSD$
-#
PORTNAME= lv
PORTVERSION= 4.51
@@ -15,13 +11,21 @@ DISTNAME= lv451
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= Powerful Multilingual File Viewer
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/../GPL.txt
+
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
MAN1= lv.1
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= DOCS
+
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
(cd ${WRKDIR}/${DISTNAME}; \
${INSTALL_DATA} *.html hello.sample* ${DOCSDIR})