1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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)
This commit is contained in:
Rusmir Dusko 2014-02-07 22:47:27 +00:00
parent 3278c8198c
commit 3701e34da9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343303
3 changed files with 15 additions and 19 deletions

View File

@ -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>

View File

@ -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

View File

@ -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