svn commit: r306522 - head/devel/fc++

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 27 19:11:57 UTC 2012


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 at 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 at 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++


More information about the svn-ports-all mailing list