Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2013 20:44:34 +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: r317246 - head/audio/scmpc
Message-ID:  <201305032044.r43KiY2g029433@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri May  3 20:44:34 2013
New Revision: 317246
URL: http://svnweb.freebsd.org/changeset/ports/317246

Log:
  Fix build by adding dep on pkgconf
  While here:
  - Trim headers
  - Convert to new options framework

Modified:
  head/audio/scmpc/Makefile

Modified: head/audio/scmpc/Makefile
==============================================================================
--- head/audio/scmpc/Makefile	Fri May  3 20:42:50 2013	(r317245)
+++ head/audio/scmpc/Makefile	Fri May  3 20:44:34 2013	(r317246)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	scmpc
-# Date created:				January 16, 2008
-# Whom:					Pavel Motyrev <legioner.r@gmail.com>
-#
+# Created by: Pavel Motyrev <legioner.r@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	scmpc
 PORTVERSION=	0.3.1
@@ -18,6 +14,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	confuse.0:${PORTSDIR}/devel/libconfuse \
 		curl.6:${PORTSDIR}/ftp/curl
 
+USES=		pkgconfig
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
@@ -27,8 +24,10 @@ MAN1=		scmpc.1
 PLIST_FILES=	bin/scmpc
 PORTDOCS=	NEWS README scmpc.conf.example
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 .endif



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