a6a77bf429
- libdvdread: allow package building with libdvdcss if WITH_DVDCSS is set [1] - libdvdread/libdvdnav: fix endianness handling [2] Submitted by: olgeni [1], richo <richo@psych0tik.net> [2] (via mail to ports@) PR: ports/162197 [1]
35 lines
868 B
Makefile
35 lines
868 B
Makefile
# New ports collection makefile for: streamanalyze
|
|
# Date created: 2005-10-30
|
|
# Whom: Heiner Eichmann
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= streamanalyze
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 4
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= CENKES LOCAL/beech
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Shrink-factor calculator for StreamDVD
|
|
|
|
LIB_DEPENDS= dvdread.4:${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>
|