Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 22:47:27 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343303 - head/multimedia/vcdgear
Message-ID:  <201402072247.s17MlRGO051722@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Fri Feb  7 22:47:27 2014
New Revision: 343303
URL: http://svnweb.freebsd.org/changeset/ports/343303
QAT: https://qat.redports.org/buildarchive/r343303/

Log:
  - Remove leading article from COMMENT
  - Use PLIST_FILES instead of pkg-plist
  - Change DOCS, add DOCS Option
  - Support STAGEDIR
  
  PR:		ports/179130
  Submitted by:	nemysis (self)

Deleted:
  head/multimedia/vcdgear/pkg-plist
Modified:
  head/multimedia/vcdgear/Makefile
  head/multimedia/vcdgear/distinfo

Modified: head/multimedia/vcdgear/Makefile
==============================================================================
--- head/multimedia/vcdgear/Makefile	Fri Feb  7 22:30:46 2014	(r343302)
+++ head/multimedia/vcdgear/Makefile	Fri Feb  7 22:47:27 2014	(r343303)
@@ -7,11 +7,19 @@ CATEGORIES=	multimedia
 MASTER_SITES=	http://www.vcdgear.com/files/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A tool to convert VCDs from cue/bin format to mpeg
+COMMENT=	Tool to convert VCDs from cue/bin format to mpeg 
+
+WRKSRC=		${WRKDIR}/vcdgear16
+NO_BUILD=	true
+
+PLIST_FILES=	bin/${PORTNAME}
+
+PORTDOCS=	faq.txt manual.txt whatsnew.txt
+
+OPTIONS_DEFINE=	DOCS
 
 ONLY_FOR_ARCHS=	alpha i386 amd64
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == i386 || ${ARCH} == amd64
@@ -20,16 +28,11 @@ DISTNAME=	${PORTNAME}16d_i386_freebsd42
 DISTNAME=	${PORTNAME}16d_alpha_freebsd41
 .endif
 
-NO_BUILD=	true
-WRKSRC=		${WRKDIR}/vcdgear16
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/vcdgear16_static ${PREFIX}/bin/vcdgear
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for file in faq.txt manual.txt whatsnew.txt
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/vcdgear16_static \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.post.mk>

Modified: head/multimedia/vcdgear/distinfo
==============================================================================
--- head/multimedia/vcdgear/distinfo	Fri Feb  7 22:30:46 2014	(r343302)
+++ head/multimedia/vcdgear/distinfo	Fri Feb  7 22:47:27 2014	(r343303)
@@ -1,4 +1,2 @@
-SHA256 (vcdgear16d_alpha_freebsd41.tar.gz) = cedce8180bd7e4959aaa3b26d4e83d0804c156c94168a1ef7f0f7259f91159e8
-SIZE (vcdgear16d_alpha_freebsd41.tar.gz) = 121796
 SHA256 (vcdgear16d_i386_freebsd42.tar.gz) = c90cc63ff402ab6bcfc545d9b534bd3ce86954d8a5b2069554174073b73bf432
 SIZE (vcdgear16d_i386_freebsd42.tar.gz) = 98035



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