aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/streamanalyze/Makefile
blob: 24cecbd173daa47915eb67040281f20f1ab82872 (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
# New ports collection makefile for:    streamanalyze
# Date created:             2005-10-30
# Whom:                 Heiner Eichmann
#
# $FreeBSD$
#

PORTNAME=   streamanalyze
PORTVERSION=    0.4
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   CENKES LOCAL/beech

MAINTAINER= h.eichmann@gmx.de
COMMENT=    Shrink-factor calculator for StreamDVD

LIB_DEPENDS=    dvdread.5:${PORTSDIR}/multimedia/libdvdread

WRKSRC=     ${WRKDIR}/StreamAnalyze

PLIST_FILES=    bin/streamanalyze
PORTDOCS=   README

post-patch:
    @${REINPLACE_CMD} -e 's|gcc -g -Wall|${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e '/#include <getopt\.h>/ d' ${WRKSRC}/streamanalyze.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/streamanalyze ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>