aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-03-13 13:05:05 +0800
committerjgh <jgh@FreeBSD.org>2013-03-13 13:05:05 +0800
commitfb68c3251040296e8bad935958248645527120f8 (patch)
tree85a37c17a0a3a681d334155f129077d87ec95af8 /editors
parent9dd382185287209e53df8355721397fe8c7259d7 (diff)
downloadfreebsd-ports-gnome-fb68c3251040296e8bad935958248645527120f8.tar.gz
freebsd-ports-gnome-fb68c3251040296e8bad935958248645527120f8.tar.zst
freebsd-ports-gnome-fb68c3251040296e8bad935958248645527120f8.zip
- adopt optionsNG for DOCS
- trim historical header - shorten MASTER_SITES PR: 176470 Submitted by: jgh@ Approved by: wen@ (maintainer timeout, 14 days)
Diffstat (limited to 'editors')
-rw-r--r--editors/leafpad/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index 608486797ac9..b03e5f234c57 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -1,15 +1,11 @@
-# New ports collection makefile for: leafpad
-# Date created: 2004-10-18
-# Whom: Michael Johnson <ahze@ahze.net>
-#
+# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
-#
PORTNAME= leafpad
PORTVERSION= 0.8.18.1
PORTREVISION= 1
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITES= SAVANNAH
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= wen@FreeBSD.org
@@ -29,8 +25,10 @@ PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
post-extract:
@${CHMOD} a+x ${WRKSRC}/install-sh
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif