ports/176470: [patch] editors/leafpad: adopt optionsNG for DOCS, trim header, shorten MASTER_SITES

Jason Helfman jgh at FreeBSD.org
Wed Feb 27 08:20:00 UTC 2013


>Number:         176470
>Category:       ports
>Synopsis:       [patch] editors/leafpad: adopt optionsNG for DOCS, trim header, shorten MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 08:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r245102: Sun Jan 6 15:01:33 UTC 2013 root at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64


	
>Description:
adopt optionsNG for DOCS
trim header
shorten MASTER_SITES

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
--- Makefile	(revision 310165)
+++ Makefile	(working copy)
@@ -1,15 +1,11 @@
-# New ports collection makefile for:	leafpad
-# Date created:				2004-10-18
-# Whom:					Michael Johnson <ahze at ahze.net>
-#
+# Created by: Michael Johnson <ahze at 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 at FreeBSD.org
@@ -29,8 +25,10 @@
 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

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list