freebsd-ports/graphics/flip/Makefile
2012-06-01 05:26:28 +00:00

45 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: flip
# Date created: Mar 4, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= flip
PORTVERSION= 2.3.0
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://www.reptilelabour.com/software/files/flip/
MAINTAINER= ports@FreeBSD.org
COMMENT= Load a sequence of TIFF files and play them back at a target frame rate
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode
WRKSRC= ${WRKDIR}/${DISTNAME:R}
PLIST_FILES= bin/flip
USE_QT_VER= 3
MAKE_ENV= QTDIR="${QT_PREFIX}"
NO_LATEST_LINK= YES
post-patch:
@${REINPLACE_CMD} -e 's|warn_on release|warn_on thread release|g ; \
s|/usr/X11R6/include|$${LOCALBASE}/include|g ; \
s|= -ltiff|= -L$${LOCALBASE}/lib -ltiff|g' ${WRKSRC}/FLIP.pro
@${REINPLACE_CMD} -e \
's|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/Config.cpp
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
-spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ FLIP.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin
.include <bsd.port.mk>