Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:26:03 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172049: print/cpp2latex: Update MASTER_SITES
Message-ID:  <20120926022603.b8b2a4e051b349990c721004@yahoo.com>
Resent-Message-ID: <201209251820.q8PIKDEs034457@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172049
>Category:       ports
>Synopsis:       print/cpp2latex: Update 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:   Tue Sep 25 18:20:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/print/cpp2latex/Makefile print/cpp2latex/Makefile
--- /usr/ports/print/cpp2latex/Makefile	2011-03-14 07:06:09.000000000 +0900
+++ print/cpp2latex/Makefile	2012-09-25 03:40:22.000000000 +0900
@@ -1,29 +1,32 @@
-# ex:ts=8
-# New ports collection makefile for:	cpp2latex
-# Date created:			Jul 20, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD: ports/print/cpp2latex/Makefile,v 1.15 2011/03/13 22:06:09 bapt Exp $
-#
 
 PORTNAME=	cpp2latex
 PORTVERSION=	2.3
 CATEGORIES=	print
-MASTER_SITES=	http://www.arnoldarts.de/downloads/cpp2latex/
+MASTER_SITES=	http://www.arnoldarts.de/files/cpp2latex/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Convert C++ source to a file you can input in an LaTeX-document
 
+LICENSE=	GPLv2 # (or later)
+
+OPTIONS_DEFINE=	DOCS
+
 GNU_CONFIGURE=	yes
 
-PLIST_FILES=	bin/cpp2latex
 PORTDOCS=	AUTHORS ChangeLog README TODO
+PLIST_FILES=	bin/cpp2latex
+
+.include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		'/-O2 /s|^|#| ; \
+		 /-pedantic /s|^|#|' ${WRKSRC}/configure
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for docfile in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
diff -urN /usr/ports/print/cpp2latex/pkg-descr print/cpp2latex/pkg-descr
--- /usr/ports/print/cpp2latex/pkg-descr	2006-12-10 00:34:09.000000000 +0900
+++ print/cpp2latex/pkg-descr	2012-07-11 17:46:56.000000000 +0900
@@ -1,3 +1,3 @@
 Convert C++-programmlistings to a file you can input in an LaTeX-document
 
-WWW: http://www.arnoldarts.de/drupal/?q=Cpp2LaTeX
+WWW: http://www.arnoldarts.de/cpp2latex
>Release-Note:
>Audit-Trail:
>Unformatted:



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