aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-07 15:10:52 +0800
committerjgh <jgh@FreeBSD.org>2013-05-07 15:10:52 +0800
commitad396ceee20319ed6c07b84d1ee7406bf35cda8c (patch)
treed6a9cdfc8a39e524dd147569800ad71db4aa49ef /editors
parentb32c359528de4fa1bf71fecbe0dd26fe1e8c3b4b (diff)
downloadfreebsd-ports-graphics-ad396ceee20319ed6c07b84d1ee7406bf35cda8c.tar.gz
freebsd-ports-graphics-ad396ceee20319ed6c07b84d1ee7406bf35cda8c.tar.zst
freebsd-ports-graphics-ad396ceee20319ed6c07b84d1ee7406bf35cda8c.zip
- Update historical header
- Trim comment - drop abi version for lib-depends - adoption of USES=shared-mime-info - cleanup reinplace_cmd - standardize formatting in pkg-descr by using a space over tab PR: 178019 Approved by: admin@mjbrune.org, maintainer timeout (17 days)
Diffstat (limited to 'editors')
-rw-r--r--editors/textroom/Makefile20
-rw-r--r--editors/textroom/pkg-plist2
2 files changed, 5 insertions, 17 deletions
diff --git a/editors/textroom/Makefile b/editors/textroom/Makefile
index be93f74466f..e28bc66511b 100644
--- a/editors/textroom/Makefile
+++ b/editors/textroom/Makefile
@@ -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 @@ CATEGORIES= editors
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
+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 @@ MAKE_JOBS_SAFE= yes
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 <bsd.port.mk>
diff --git a/editors/textroom/pkg-plist b/editors/textroom/pkg-plist
index debca9a790e..254a9864ef2 100644
--- a/editors/textroom/pkg-plist
+++ b/editors/textroom/pkg-plist
@@ -12,5 +12,3 @@ share/sounds/keyenter.wav
@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