diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-02-07 22:47:27 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-02-07 22:47:27 +0000 |
commit | 3701e34da90660bb64a78e8f30eca747e62c3688 (patch) | |
tree | d9325858660b0f5907af7d9d530c3088c3f56ad7 /multimedia | |
parent | 3278c8198c1a51df1b62c7618d763932dd1412d2 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=343303
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vcdgear/Makefile | 27 | ||||
-rw-r--r-- | multimedia/vcdgear/distinfo | 2 | ||||
-rw-r--r-- | multimedia/vcdgear/pkg-plist | 5 |
3 files changed, 15 insertions, 19 deletions
diff --git a/multimedia/vcdgear/Makefile b/multimedia/vcdgear/Makefile index 85a08c07a0c5..92ce73044d17 100644 --- a/multimedia/vcdgear/Makefile +++ b/multimedia/vcdgear/Makefile @@ -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> diff --git a/multimedia/vcdgear/distinfo b/multimedia/vcdgear/distinfo index a98dd20ffd64..d57b3278861f 100644 --- a/multimedia/vcdgear/distinfo +++ b/multimedia/vcdgear/distinfo @@ -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 diff --git a/multimedia/vcdgear/pkg-plist b/multimedia/vcdgear/pkg-plist deleted file mode 100644 index e27fa6bd0626..000000000000 --- a/multimedia/vcdgear/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/vcdgear -%%PORTDOCS%%share/doc/vcdgear/faq.txt -%%PORTDOCS%%share/doc/vcdgear/manual.txt -%%PORTDOCS%%share/doc/vcdgear/whatsnew.txt -%%PORTDOCS%%@dirrm share/doc/vcdgear |