mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
89217d5e2a
PR: ports/65604 Submitted by: michael johnson <ahze at ahze dot net>
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: mkxvcd
|
|
# Date created: Fri Mar 5 04:25:02 EST 2004
|
|
# Whom: michael johnson <ahze@ahze.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mkxvcd
|
|
PORTVERSION= 2.0.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= kvcd4nix
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Makes high quality X/K/S/VCD movies from many formats
|
|
|
|
RUN_DEPENDS= mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \
|
|
bash:${PORTSDIR}/shells/bash2 \
|
|
mplayer:${PORTSDIR}/multimedia/mplayer \
|
|
transcode:${PORTSDIR}/multimedia/transcode
|
|
|
|
USE_REINPLACE= yes
|
|
NO_BUILD= yes
|
|
PLIST_FILES= bin/mkxvcd
|
|
|
|
PORTDOCS= AUTHORS Changelog INSTALL README TODO
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
|
|
${WRKSRC}/mkxvcd.sh
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/mkxvcd.sh ${PREFIX}/bin/mkxvcd
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for docfile in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|