1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/sysutils/vstrip/Makefile
Ganael LAPLANCHE 8e3dcb3c28 - Update multimedia/libdvdread to 4.9.9
- Bump dependent ports' PORTREVISIONS and update LIB_DEPENDS [1]
- multimedia/libdvdnav: remove dependency to (now removed) dvdread-config
- sysutils/vstrip: remove useless dependency to multimedia/libdvdread

Approved by:	portmgr (implicit) [1]
2014-05-13 10:17:04 +00:00

40 lines
965 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= vstrip
DISTVERSION= 0.8f
PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= http://files.digital-digest.com/downloads/files/encode/
DISTNAME= vStrip_${DISTVERSION:C/\.//g}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= VOB de-multiplexing tool, splitter, and VOB/IFO files processor
LICENSE= GPLv2
LDFLAGS+= -lm
PLIST_FILES= bin/${PORTNAME}
USES= zip
WRKSRC= ${WRKDIR}/${PORTNAME}
post-extract:
@${FIND} ${WRKSRC} -type f -print0 | \
${XARGS} -0 -x -n 10 \
${REINPLACE_CMD} -E \
-e 's|[[:cntrl:]]$$||'
post-patch:
@${REINPLACE_CMD} -E \
-e 's|malloc.h|stdlib.h|' \
-e 's|<io.h>|<unistd.h>|' \
-e 's|__int64[[:space:]]+fposition[[:space:]]*=[[:space:]]*_filelengthi64\(fp\);|off_t fposition=lseek(fp, 0, SEEK_END);|' \
${WRKSRC}/*.c \
${WRKSRC}/*.h
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>