Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 12:52:05 +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: r309736 - head/www/cplanet
Message-ID:  <201212311252.qBVCq5wc034330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Dec 31 12:52:05 2012
New Revision: 309736
URL: http://svnweb.freebsd.org/changeset/ports/309736

Log:
  Trim headers
  Convert to new options framework
  remove shlib numbers

Modified:
  head/www/cplanet/Makefile

Modified: head/www/cplanet/Makefile
==============================================================================
--- head/www/cplanet/Makefile	Mon Dec 31 12:50:47 2012	(r309735)
+++ head/www/cplanet/Makefile	Mon Dec 31 12:52:05 2012	(r309736)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	cplanet
-# Date created:		2010-02-22
-# Whom:			Bapt <baptiste.daroussin@gmail.com>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	cplanet
 PORTVERSION=	0.9
@@ -14,16 +9,18 @@ MAINTAINER=	bapt@FreeBSD.org
 COMMENT=	RSS Feed Aggregator that generate static html
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libneo_cs.a:${PORTSDIR}/www/clearsilver
-LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
-		curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat2 \
+		curl:${PORTSDIR}/ftp/curl
 
 LICENSE=	BSD
 
 MAN1=		cplanet.1
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	EXAMPLES
+
+.include <bsd.port.options.mk>
 post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${EXAMPLESDIR}
 	${INSTALL} -o root -g wheel -m 644 ${WRKSRC}/samples/cplanet-atom.cs ${EXAMPLESDIR}
 	${INSTALL} -o root -g wheel -m 644 ${WRKSRC}/samples/cplanet-opml.cs ${EXAMPLESDIR}
@@ -32,4 +29,4 @@ post-install:
 	${INSTALL} -o root -g wheel -m 644 ${WRKSRC}/samples/cplanet.hdf ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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