freebsd-ports/multimedia/streamanalyze/Makefile

36 lines
878 B
Makefile
Raw Normal View History

# New ports collection makefile for: streamanalyze
# Date created: 2005-10-30
# Whom: Heiner Eichmann
#
# $FreeBSD$
#
PORTNAME= streamanalyze
PORTVERSION= 0.4
CATEGORIES= multimedia
MASTER_SITES= http://www.badabum.de/down/
MAINTAINER= h.eichmann@gmx.de
COMMENT= Shrink-factor calculator for StreamDVD
LIB_DEPENDS= dvdread:${PORTSDIR}/multimedia/libdvdread
WRKSRC= ${WRKDIR}/StreamAnalyze
USE_REINPLACE= yes
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>