1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/multimedia/smile/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

55 lines
1.5 KiB
Makefile

# New ports collection makefile for: smile
# Date created: Mer 06 Jul 2008 23:44:00 CET
# Whom: Diego Depaoli <trebestie@gmail.com>
#
# $FreeBSD$
#
PORTNAME= smile
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= multimedia kde
MASTER_SITES= http://download.tuxfamily.org/smiletool/
MAINTAINER= trebestie@gmail.com
COMMENT= Slideshow Maker in Linux Environment
RUN_DEPENDS= sox>=14.0:${PORTSDIR}/audio/sox \
mencoder:${PORTSDIR}/multimedia/mencoder \
mplayer:${PORTSDIR}/multimedia/mplayer \
ImageMagick>=6.4:${PORTSDIR}/graphics/ImageMagick
USE_QT_VER= 4
QT_COMPONENTS= qmake_build gui corelib rcc_build moc_build uic_build \
opengl webkit
MAKE_ENV+= QTDIR=${QT_PREFIX}
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_JOBS_SAFE= yes
DESKTOP_ENTRIES="Smile" \
"Slideshow Maker in Linux environment" \
"smile.png" \
"smile" \
"Application;AudioVideo;" \
false
post-patch:
@${REINPLACE_CMD} -e 's|bash|sh|g' ${WRKSRC}/mainfrm.cpp \
${WRKSRC}/render.cpp
@${RM} -f ${WRKSRC}/ui_*.h ${WRKSRC}/moc_*.cpp ${WRKSRC}/qrc_*.cpp \
${WRKSRC}/BIB_ManSlide/Help/doc_fr ${WRKSRC}/BIB_ManSlide/*/*~
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC} smile.pro
do-install:
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "BIB_ManSlide Interface" ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/*.qm ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/Interface/Theme/smile.png ${PREFIX}/share/pixmaps/smile.png
${INSTALL_PROGRAM} ${WRKSRC}/smile ${DATADIR}/
${LN} -fs ${DATADIR}/smile ${PREFIX}/bin/
.include <bsd.port.mk>