aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/smile
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-12-07 00:32:44 +0800
committerdanfe <danfe@FreeBSD.org>2012-12-07 00:32:44 +0800
commit3fb090f3650d7e9fdec897bffb07c61688fdc86c (patch)
tree2d4e515c784498b97b818eee7a417271cb5b6fdc /multimedia/smile
parenta075f7020c5a6f01c53746aae0e627f78594b4a3 (diff)
downloadfreebsd-ports-gnome-3fb090f3650d7e9fdec897bffb07c61688fdc86c.tar.gz
freebsd-ports-gnome-3fb090f3650d7e9fdec897bffb07c61688fdc86c.tar.zst
freebsd-ports-gnome-3fb090f3650d7e9fdec897bffb07c61688fdc86c.zip
- Cleanup the Makefile
- Improve port description and correct WWW line Feature safe: yes
Diffstat (limited to 'multimedia/smile')
-rw-r--r--multimedia/smile/Makefile28
-rw-r--r--multimedia/smile/pkg-descr6
2 files changed, 16 insertions, 18 deletions
diff --git a/multimedia/smile/Makefile b/multimedia/smile/Makefile
index 75984275d20e..cee07f7ad085 100644
--- a/multimedia/smile/Makefile
+++ b/multimedia/smile/Makefile
@@ -18,32 +18,30 @@ RUN_DEPENDS= sox>=14.0:${PORTSDIR}/audio/sox \
USE_QT4= qmake_build gui corelib rcc_build moc_build uic_build \
opengl webkit
-MAKE_ENV+= QTDIR=${QT_PREFIX}
+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
+DESKTOP_ENTRIES="Smile" "${COMMENT}" "smile.png" "${PORTNAME}" \
+ "Application;AudioVideo;" false
post-patch:
- @${REINPLACE_CMD} -e 's|bash|sh|g' ${WRKSRC}/mainfrm.cpp \
+ @${REINPLACE_CMD} -e 's|bash|sh|' ${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
+ @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/
+ @${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
+ ${INSTALL_PROGRAM} ${WRKSRC}/smile ${DATADIR}
+ ${LN} -fs ${DATADIR}/smile ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/multimedia/smile/pkg-descr b/multimedia/smile/pkg-descr
index f62e829c88f7..b1cc4afa2d09 100644
--- a/multimedia/smile/pkg-descr
+++ b/multimedia/smile/pkg-descr
@@ -1,4 +1,4 @@
-Smile - Slideshow Maker in Linux Environment
+SMILE is a Slideshow Maker in Linux Environment, but is not limited to just
+GNU/Linux.
-WWW: http://smile.tuxfamily.org
- http://www.kde-apps.org/content/show.php/SMILE?content=83276
+WWW: http://opendesktop.org/content/show.php/?content=109061