Index: editors/textroom/Makefile =================================================================== --- editors/textroom/Makefile (revision 316168) +++ editors/textroom/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: textroom -# Date created: 27 April 2010 -# Whom: admin@mjbrune.org -# +# Created by: admin@mjbrune.org # $FreeBSD$ -# PORTNAME= textroom PORTVERSION= 0.8.2 @@ -12,14 +8,13 @@ MASTER_SITES= SF MAINTAINER= admin@mjbrune.org -COMMENT= A full screen text editor +COMMENT= Full screen text editor -BUILD_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info -LIB_DEPENDS= hunspell-1.3:${PORTSDIR}/textproc/hunspell \ - xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \ - curl.6:${PORTSDIR}/ftp/curl -RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info +LIB_DEPENDS= hunspell-1:${PORTSDIR}/textproc/hunspell \ + xml++-2.6:${PORTSDIR}/textproc/libxml++26 \ + curl:${PORTSDIR}/ftp/curl +USES=shared-mime-info USE_SDL= mixer USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui xml \ svg opengl qt3support @@ -29,17 +24,12 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ - ${WRKSRC}/application/src/textroom.cpp - @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ - ${WRKSRC}/application/src/getaword.cpp - @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ + ${WRKSRC}/application/src/textroom.cpp \ + ${WRKSRC}/application/src/getaword.cpp \ ${WRKSRC}/application/src/optionsdialog.cpp do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} textroom.pro -post-install: - @-update-mime-database ${PREFIX}/share/mime - .include Index: editors/textroom/pkg-descr =================================================================== --- editors/textroom/pkg-descr (revision 316168) +++ editors/textroom/pkg-descr (working copy) @@ -4,4 +4,4 @@ its behavior. If you don't feel comfortable already with your editor of choice, you may find it useful. -WWW: http://code.google.com/p/textroom/ +WWW: http://code.google.com/p/textroom/ Index: editors/textroom/pkg-plist =================================================================== --- editors/textroom/pkg-plist (revision 316168) +++ editors/textroom/pkg-plist (working copy) @@ -12,5 +12,3 @@ @dirrmtry share/hunspell @dirrmtry share/applications @dirrm share/textroom -@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true