aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-31 20:52:05 +0800
committerbapt <bapt@FreeBSD.org>2012-12-31 20:52:05 +0800
commit0e45c351353dd2cf06637916934f53fffb6e4030 (patch)
tree1bbeb0eee3b286399fac72d03276bb91be10919c /www
parent5b8914ba02230618f68ba9714a17a825c8ccf74f (diff)
downloadfreebsd-ports-gnome-0e45c351353dd2cf06637916934f53fffb6e4030.tar.gz
freebsd-ports-gnome-0e45c351353dd2cf06637916934f53fffb6e4030.tar.zst
freebsd-ports-gnome-0e45c351353dd2cf06637916934f53fffb6e4030.zip
Trim headers
Convert to new options framework remove shlib numbers
Diffstat (limited to 'www')
-rw-r--r--www/cplanet/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/www/cplanet/Makefile b/www/cplanet/Makefile
index 0354ab41d31c..e34feeebc256 100644
--- a/www/cplanet/Makefile
+++ b/www/cplanet/Makefile
@@ -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>