Date: Tue, 5 Feb 2013 18:34:51 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311728 - head/devel/p5-Set-Infinite Message-ID: <201302051834.r15IYpFj085455@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Feb 5 18:34:50 2013 New Revision: 311728 URL: http://svnweb.freebsd.org/changeset/ports/311728 Log: - Convert to new options framework - Cleanup Makefile header Modified: head/devel/p5-Set-Infinite/Makefile (contents, props changed) Modified: head/devel/p5-Set-Infinite/Makefile ============================================================================== --- head/devel/p5-Set-Infinite/Makefile Tue Feb 5 18:17:26 2013 (r311727) +++ head/devel/p5-Set-Infinite/Makefile Tue Feb 5 18:34:50 2013 (r311728) @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-Set-Infinite -# Date created: 26 june 2003 -# Whom: Mathieu Arnold <m@absolight.net> -# +# Created by: Mathieu Arnold <m@absolight.net> # $FreeBSD$ -# PORTNAME= Set-Infinite PORTVERSION= 0.65 @@ -14,16 +10,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Set::Infinite - Sets of intervals +OPTIONS_DEFINE= DOCS + PERL_CONFIGURE= yes MAN3= Set::Infinite.3 Set::Infinite::Arithmetic.3 Set::Infinite::Basic.3 - -.if !defined(NOPORTDOCS) PORTDOCS= Changes README TODO +.include <bsd.port.options.mk> + post-install: - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302051834.r15IYpFj085455>