- Update to 0.5.11
- Portlint PR: ports/63378 Submitted by: michael johnson <ahze@ahze.net> Approved by: lioux
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= vobcopy
|
||||
PORTVERSION= 0.5.8
|
||||
PORTVERSION= 0.5.11
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://lpn.rnbhq.org/download/
|
||||
|
||||
@@ -26,8 +26,8 @@ ALL_TARGET= ${PORTNAME}
|
||||
|
||||
MAN1= vobcopy.1
|
||||
|
||||
DOC_FILES= COPYING Changelog README Release-Notes \
|
||||
TODO \
|
||||
PLIST_FILES= bin/vobcopy
|
||||
PORTDOCS= COPYING Changelog README Release-Notes TODO \
|
||||
alternative_programs.txt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@@ -38,13 +38,18 @@ post-patch:
|
||||
@${REINPLACE_CMD} -E -e 's|declare -i i=0||' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
# -CURRENT after 500041 has getopt_long
|
||||
# do not use libgnugetopt
|
||||
# do not use libgnugetopt
|
||||
.if ${OSVERSION} >= 500041
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|-lgnugetopt||' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's|#include <stdint.h>||' \
|
||||
${WRKSRC}/vobcopy.c
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -E -e 's|^CC.+||; s|^PREFIX.+||; \
|
||||
s|/usr/local/|${LOCALBASE}/|' \
|
||||
@@ -53,9 +58,9 @@ post-configure:
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/vobcopy ${PREFIX}/bin/vobcopy
|
||||
@${INSTALL_MAN} ${WRKSRC}/vobcopy.1 ${MANPREFIX}/man/man1/vobcopy.1
|
||||
.ifndef(PORTDOCS)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOC_FILES}
|
||||
.for file in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
MD5 (vobcopy-0.5.8.tar.bz2) = a282523f14aebada41ffbf28c49dae0c
|
||||
SIZE (vobcopy-0.5.8.tar.bz2) = 35437
|
||||
MD5 (vobcopy-0.5.11.tar.bz2) = 4eee4e7a39692d929f910d2afa09f1bc
|
||||
SIZE (vobcopy-0.5.11.tar.bz2) = 42615
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
bin/vobcopy
|
||||
%%PORTDOCS%%share/doc/vobcopy/COPYING
|
||||
%%PORTDOCS%%share/doc/vobcopy/Changelog
|
||||
%%PORTDOCS%%share/doc/vobcopy/README
|
||||
%%PORTDOCS%%share/doc/vobcopy/Release-Notes
|
||||
%%PORTDOCS%%share/doc/vobcopy/TODO
|
||||
%%PORTDOCS%%share/doc/vobcopy/alternative_programs.txt
|
||||
@dirrm share/doc/vobcopy
|
||||
Reference in New Issue
Block a user