Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 16:57:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403303 - in head/devel/cvsgraph: . files
Message-ID:  <201512081657.tB8GvoEm072245@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  8 16:57:50 2015
New Revision: 403303
URL: https://svnweb.freebsd.org/changeset/ports/403303

Log:
  - Add LICENSE
  - Pet portlint
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/devel/cvsgraph/Makefile
  head/devel/cvsgraph/files/patch-cvsgraph.c

Modified: head/devel/cvsgraph/Makefile
==============================================================================
--- head/devel/cvsgraph/Makefile	Tue Dec  8 16:56:37 2015	(r403302)
+++ head/devel/cvsgraph/Makefile	Tue Dec  8 16:57:50 2015	(r403303)
@@ -10,23 +10,25 @@ MASTER_SITES=	http://www.akhphd.au.dk/~b
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Graph the life story of a file under CVS or RCS
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-DOCDIR=		share/doc/${PORTNAME}
-DOCS=		ChangeLog README
-EXAMPLES=	cvsgraphwrapper.php mkimage.php
-MORE_EXAMPLES=	README.Automatic_documentation checkoutlist commit_action.sh \
-		commitinfo cvswrappers tag_action.sh taginfo
 SUB_FILES=	pkg-message
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-gd-inc=${LOCALBASE}/include \
 		--with-gd-lib=${LOCALBASE}/lib CFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${PREFIX}/lib"
-REINPLACE_ARGS=	-i ""
+
+DOCS=		ChangeLog README
+EXAMPLES=	cvsgraphwrapper.php mkimage.php
+MORE_EXAMPLES=	README.Automatic_documentation checkoutlist commit_action.sh \
+		commitinfo cvswrappers tag_action.sh taginfo
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 pre-patch:
 	@${REINPLACE_CMD} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" ${WRKSRC}/cvsgraph.conf
@@ -36,16 +38,21 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${STAGEDIR}${PREFIX}/etc/cvsgraph.conf.sample
 	${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation
 .for i in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
+
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation
 .for i in ${EXAMPLES}
 	${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
 .for i in ${MORE_EXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation
+	${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} \
+		${STAGEDIR}${EXAMPLESDIR}/automatic_documentation
 .endfor
 
 .include <bsd.port.mk>

Modified: head/devel/cvsgraph/files/patch-cvsgraph.c
==============================================================================
--- head/devel/cvsgraph/files/patch-cvsgraph.c	Tue Dec  8 16:56:37 2015	(r403302)
+++ head/devel/cvsgraph/files/patch-cvsgraph.c	Tue Dec  8 16:57:50 2015	(r403303)
@@ -1,6 +1,6 @@
---- cvsgraph.c.orig	Wed Jun 15 05:36:59 2005
-+++ cvsgraph.c	Wed Sep 21 11:06:22 2005
-@@ -191,8 +191,8 @@
+--- cvsgraph.c.orig	2008-05-21 12:21:32 UTC
++++ cvsgraph.c
+@@ -190,8 +190,8 @@ static void dump_dtext(char *p, dtext_t 
  {
  	printf("%sdtext.rev  : ", p);
  	dump_rev("", d->rev);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512081657.tB8GvoEm072245>