summaryrefslogtreecommitdiff
path: root/editors/leafpad
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-03-13 05:05:05 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-03-13 05:05:05 +0000
commitaa349005803dfd50dace37e4259599e0f59301b3 (patch)
tree85a37c17a0a3a681d334155f129077d87ec95af8 /editors/leafpad
parent- Many Makefile fixes and tweaks (diff)
- adopt optionsNG for DOCS
- trim historical header - shorten MASTER_SITES PR: 176470 Submitted by: jgh@ Approved by: wen@ (maintainer timeout, 14 days)
Notes
Notes: svn path=/head/; revision=314027
Diffstat (limited to 'editors/leafpad')
-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