Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 17:18:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313988 - head/multimedia/libquvi
Message-ID:  <201303121718.r2CHIigo061517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Mar 12 17:18:44 2013
New Revision: 313988
URL: http://svnweb.freebsd.org/changeset/ports/313988

Log:
  - Pet portlint: remove ABI version number from LIB_DEPENDS
  - Convert to new options framework
  - Use USES macro
  - Bump PORTREVISION for dependency change
  - Cleanup Makefile header

Modified:
  head/multimedia/libquvi/Makefile   (contents, props changed)

Modified: head/multimedia/libquvi/Makefile
==============================================================================
--- head/multimedia/libquvi/Makefile	Tue Mar 12 17:16:37 2013	(r313987)
+++ head/multimedia/libquvi/Makefile	Tue Mar 12 17:18:44 2013	(r313988)
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	libquvi
-# Date created:		2011-10-06
-# Whom:			Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	libquvi
 PORTVERSION=	0.4.1
+PORTREVISION=	1
 CATEGORIES=	multimedia devel
 MASTER_SITES=	SF/quvi/${PORTVERSION:R}/${PORTNAME}/ \
 		GOOGLE_CODE
@@ -15,23 +12,27 @@ MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Cross-platform library for parsing flash media stream URLs
 
 BUILD_DEPENDS=	libquvi-scripts>=0.4.0:${PORTSDIR}/multimedia/libquvi-scripts
-LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
 RUN_DEPENDS=	libquvi-scripts>=0.4.0:${PORTSDIR}/multimedia/libquvi-scripts
 
+OPTIONS_DEFINE=	DOCS
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 GNU_CONFIGURE=	yes
-USE_GNOME=	gnomehack pkgconfig
 USE_ICONV=	yes
 USE_LDCONFIG=	yes
 USE_LUA=	yes
 USE_XZ=		yes
+USES=		pathfix
 
 MAN3=		libquvi.3
 
 PROJECTHOST=	quvi
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}/
 	cd ${WRKSRC}/doc/nd/ && ${COPYTREE_SHARE} . ${DOCSDIR}/
 .endif



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