ports/178212: sysutils/savelogs update and take maintainership

Danilo Egea Gondolfo danilogondolfo at gmail.com
Sun Apr 28 01:50:01 UTC 2013


>Number:         178212
>Category:       ports
>Synopsis:       sysutils/savelogs update and take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 28 01:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Danilo Egea Gondolfo
>Release:        FreeBSD 9.1-STABLE
>Organization:
Universidade Estadual de Maringá
>Environment:
FreeBSD projeto 9.1-STABLE FreeBSD 9.1-STABLE #0 r249522: Mon Apr 15 16:35:31 BRT 2013     root at projeto:/usr/obj/usr/src.stable/sys/PROJETO  amd64
>Description:
sysutils/savelogs updated from 1.97 to 1.98.

Changes:
 - Makefile header crop;
 - Updated from 1.97 to 1.98;
 - Take maintainership;
 - Options introduced.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 316697)
+++ Makefile	(working copy)
@@ -1,32 +1,44 @@
-# New ports collection makefile for:	savelogs
-# Date created:		2004-04-29
-# Whom:			ports at c0decafe.net
-#
+# Created by: ports at c0decafe.net
 # $FreeBSD$
-#
 
 PORTNAME=	savelogs
-PORTVERSION=	1.97
+PORTVERSION=	1.98
 CATEGORIES=	sysutils perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:SCOTTW
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	danilogondolfo at gmail.com
 COMMENT=	Save log files in a nice way
 
 PERL_CONFIGURE=	yes
 
 MAN1=		rotation.1 savelogs.1
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+PLIST_SUB+=	PORTDOCS=""
+.else
+PLIST_SUB+=	PORTDOCS="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+PLIST_SUB+=	PORTEXAMPLES=""
+.else
+PLIST_SUB+=	PORTEXAMPLES="@comment "
+.endif
+
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/conf/savelogs.conf.sample ${PREFIX}/etc/
-.if !defined(NOPORTDOCS)
+	${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.sample ${PREFIX}/etc/
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_MAN} ${WRKSRC}/conf/savelogs.conf.lint ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.lint ${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 316697)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (savelogs-1.97.tar.gz) = 1169a5813c5d89f2242d6198a72a6de6240d49602e1b3833c48e0e09eeb67536
-SIZE (savelogs-1.97.tar.gz) = 111418
+SHA256 (savelogs-1.98.tar.gz) = f68d9b0c6bebe23534251b49f89619b55297eb175489ec749877e170fd8ee97e
+SIZE (savelogs-1.98.tar.gz) = 111656


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


More information about the freebsd-ports-bugs mailing list