aboutsummaryrefslogtreecommitdiff
path: root/audio/mpdscribble
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-01-06 21:33:21 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-01-06 21:33:21 +0000
commit71e5bb2abe92b87556f6c55acc3c50962d0b4524 (patch)
treea23c6b149b807b9b3910875d1c381a87b2d24249 /audio/mpdscribble
parenta65b37a7ebee99e398465b168bf2e9cf89085093 (diff)
downloadports-71e5bb2abe92b87556f6c55acc3c50962d0b4524.tar.gz
ports-71e5bb2abe92b87556f6c55acc3c50962d0b4524.zip
Convert jlaffayes's ports to new options framework
Approved by: jlaffaye
Notes
Notes: svn path=/head/; revision=310017
Diffstat (limited to 'audio/mpdscribble')
-rw-r--r--audio/mpdscribble/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/mpdscribble/Makefile b/audio/mpdscribble/Makefile
index a9aaf5dcb255..b01086045e1b 100644
--- a/audio/mpdscribble/Makefile
+++ b/audio/mpdscribble/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mpdscribble
-# Date created: July 13 2006
-# Whom: Stepan Zastupov [RedChrom] <redchrom@gmail.com>
-#
+# Created by: Stepan Zastupov [RedChrom] <redchrom@gmail.com>
# $FreeBSD$
-#
PORTNAME= mpdscribble
PORTVERSION= 0.22
@@ -24,11 +20,12 @@ USE_RC_SUBR= mpdscribble
MAN1= mpdscribble.1
-OPTIONS= SOUP "Use libsoup instead of libcurl" off
+OPTIONS_DEFINE= SOUP DOCS
+SOUP_DESC= Use libsoup instead of libcurl
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SOUP)
+.if ${PORT_OPTIONS:MSOUP}
LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
CONFIGURE_ARGS+= --with-http-client=soup
.else
@@ -43,11 +40,11 @@ do-install:
.if !exists(${PREFIX}/etc/mpdscribble.conf)
@(cd ${PREFIX}/etc && ${CP} mpdscribble.conf.sample mpdscribble.conf)
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS NEWS README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>