svn commit: r317246 - head/audio/scmpc
Baptiste Daroussin
bapt at FreeBSD.org
Fri May 3 20:44:35 UTC 2013
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 at gmail.com>
-#
+# Created by: Pavel Motyrev <legioner.r at 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
More information about the svn-ports-all
mailing list