aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mkxvcd/Makefile
blob: 303952256c3b7a5802d42c5a4188ac180f867947 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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>