ports/171983: devel/fc++: Update MASTER_SITES

KATO Tsuguru tkato432 at yahoo.com
Tue Sep 25 18:10:18 UTC 2012


>Number:         171983
>Category:       ports
>Synopsis:       devel/fc++: 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:10:17 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
- Support PORTDOCS

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/fc++/Makefile devel/fc++/Makefile
--- /usr/ports/devel/fc++/Makefile	2012-09-21 15:52:44.000000000 +0900
+++ devel/fc++/Makefile	2012-09-25 03:20:10.000000000 +0900
@@ -1,27 +1,28 @@
-# ex:ts=8
-# New ports collection makefile for:	fc++
-# Date created:			Oct 10, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD: ports/devel/fc++/Makefile,v 1.9 2012/09/21 06:52:44 bapt Exp $
-#
 
 PORTNAME=	fc++
 PORTVERSION=	1.5
+PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	http://www.cc.gatech.edu/~yannis/fc++/
-DISTNAME=	FC++.${PORTVERSION}
+MASTER_SITES=	http://people.cs.umass.edu/~yannis/fc++/
+DISTNAME=	${PORTNAME:U}.${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Functional Programming in C++
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2012-10-20
+OPTIONS_DEFINE=	DOCS
 
 NO_BUILD=	yes
 
+.include <bsd.port.options.mk>
+
 do-install:
 	@${MKDIR} ${PREFIX}/include/fc++
-	${CP} ${WRKSRC}/*.h ${PREFIX}/include/fc++
+	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/fc++
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/changes.html ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/fc++/pkg-descr devel/fc++/pkg-descr
--- /usr/ports/devel/fc++/pkg-descr	2001-10-10 23:36:22.000000000 +0900
+++ devel/fc++/pkg-descr	2012-06-23 22:26:09.000000000 +0900
@@ -18,4 +18,4 @@
 used to replace C++ pointers, many common logical and arithmetic operators in
 a form that can be used with higher-order functions, and more.
 
-WWW: http://www.cc.gatech.edu/~yannis/fc++/
+WWW: http://people.cs.umass.edu/~yannis/fc++/
diff -urN /usr/ports/devel/fc++/pkg-plist devel/fc++/pkg-plist
--- /usr/ports/devel/fc++/pkg-plist	2004-01-07 18:03:29.000000000 +0900
+++ devel/fc++/pkg-plist	2012-06-23 22:28:41.000000000 +0900
@@ -12,4 +12,6 @@
 include/fc++/reuse.h
 include/fc++/signature.h
 include/fc++/smart.h
+%%PORTDOCS%%%%DOCSDIR%%/changes.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/fc++
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list