2002-03-05 09:23:14 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: flip
|
|
|
|
# Date created: Mar 4, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= flip
|
|
|
|
PORTVERSION= 2.2.0
|
2003-02-23 01:35:07 +01:00
|
|
|
PORTREVISION= 1
|
2002-03-05 09:23:14 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.reptilelabour.com/software/files/flip/
|
|
|
|
|
2003-02-23 01:35:07 +01:00
|
|
|
MAINTAINER= ports@freebsd.org
|
|
|
|
COMMENT= "Load a sequence of TIFF files and play them back at a target frame rate"
|
2002-03-05 09:23:14 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff
|
|
|
|
RUN_DEPENDS= mpeg_encode:${PORTSDIR}/graphics/mpeg_encode
|
|
|
|
|
2003-02-23 01:35:07 +01:00
|
|
|
USE_QT_VER= 3
|
2002-09-01 18:07:59 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-03-05 09:23:14 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:R}
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
MAKE_ENV= MOC="${MOC}" QTDIR="${X11BASE}"
|
|
|
|
|
|
|
|
post-patch:
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CXX,#CXX,g ; \
|
2003-02-23 01:35:07 +01:00
|
|
|
s,-O2,${CFLAGS} ${PTHREAD_CFLAGS},g ; \
|
|
|
|
s,^MOC,#MOC,g ; s,lqt,lqt-mt ${PTHREAD_LIBS},g ; \
|
2002-03-05 09:23:14 +01:00
|
|
|
s,/usr/X11R6,${X11BASE},g ; \
|
|
|
|
s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Config.cpp
|
2002-03-05 09:23:14 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|