Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 19:11:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306522 - head/devel/fc++
Message-ID:  <201210271911.q9RJBu6t039826@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Oct 27 19:11:56 2012
New Revision: 306522
URL: http://svn.freebsd.org/changeset/ports/306522

Log:
  - Update MASTER_SITES and WWW: line
  - Support PORTDOCS
  
  PR:		ports/171983
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Modified:
  head/devel/fc++/Makefile
  head/devel/fc++/pkg-descr
  head/devel/fc++/pkg-plist

Modified: head/devel/fc++/Makefile
==============================================================================
--- head/devel/fc++/Makefile	Sat Oct 27 19:02:54 2012	(r306521)
+++ head/devel/fc++/Makefile	Sat Oct 27 19:11:56 2012	(r306522)
@@ -1,27 +1,25 @@
-# ex:ts=8
-# New ports collection makefile for:	fc++
-# Date created:			Oct 10, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	fc++
 PORTVERSION=	1.5
 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@FreeBSD.org
 COMMENT=	Functional Programming in C++
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2012-10-20
+OPTIONS_DEFINE=	DOCS
 
 NO_BUILD=	yes
 
 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>

Modified: head/devel/fc++/pkg-descr
==============================================================================
--- head/devel/fc++/pkg-descr	Sat Oct 27 19:02:54 2012	(r306521)
+++ head/devel/fc++/pkg-descr	Sat Oct 27 19:11:56 2012	(r306522)
@@ -18,4 +18,4 @@ functions (like map, compose, etc.), a r
 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++/

Modified: head/devel/fc++/pkg-plist
==============================================================================
--- head/devel/fc++/pkg-plist	Sat Oct 27 19:02:54 2012	(r306521)
+++ head/devel/fc++/pkg-plist	Sat Oct 27 19:11:56 2012	(r306522)
@@ -12,4 +12,6 @@ include/fc++/ref_count.h
 include/fc++/reuse.h
 include/fc++/signature.h
 include/fc++/smart.h
+%%PORTDOCS%%%%DOCSDIR%%/changes.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/fc++



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