2013-09-20 22:57:48 +02:00
|
|
|
# Created by: Heiner Eichmann
|
2005-11-01 14:02:13 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= streamanalyze
|
|
|
|
PORTVERSION= 0.4
|
2014-05-13 12:17:04 +02:00
|
|
|
PORTREVISION= 6
|
2005-11-01 14:02:13 +01:00
|
|
|
CATEGORIES= multimedia
|
2007-06-30 12:00:14 +02:00
|
|
|
MASTER_SITES= CENKES LOCAL/beech
|
2005-11-01 14:02:13 +01:00
|
|
|
|
2011-01-11 14:53:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-11-01 14:02:13 +01:00
|
|
|
COMMENT= Shrink-factor calculator for StreamDVD
|
|
|
|
|
2014-05-13 12:17:04 +02:00
|
|
|
LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread
|
2005-11-01 14:02:13 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/StreamAnalyze
|
|
|
|
|
|
|
|
PLIST_FILES= bin/streamanalyze
|
|
|
|
PORTDOCS= README
|
|
|
|
|
2013-09-20 22:57:48 +02:00
|
|
|
NO_STAGE= yes
|
2005-11-01 14:02:13 +01:00
|
|
|
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>
|