View | Details | Raw Unified | Return to bug 178019
Collapse All | Expand All

(-)editors/textroom/Makefile (-18 / +8 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for: textroom
1
# Created by: admin@mjbrune.org
2
# Date created:        27 April 2010
3
# Whom:                admin@mjbrune.org
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	textroom
4
PORTNAME=	textroom
9
PORTVERSION=	0.8.2
5
PORTVERSION=	0.8.2
Lines 12-25 Link Here
12
MASTER_SITES=	SF
8
MASTER_SITES=	SF
13
9
14
MAINTAINER=	admin@mjbrune.org
10
MAINTAINER=	admin@mjbrune.org
15
COMMENT=	A full screen text editor
11
COMMENT=	Full screen text editor
16
12
17
BUILD_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
13
LIB_DEPENDS=	hunspell-1:${PORTSDIR}/textproc/hunspell \
18
LIB_DEPENDS=	hunspell-1.3:${PORTSDIR}/textproc/hunspell \
14
		xml++-2.6:${PORTSDIR}/textproc/libxml++26 \
19
		xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \
15
		curl:${PORTSDIR}/ftp/curl
20
		curl.6:${PORTSDIR}/ftp/curl
21
RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
22
16
17
USES=shared-mime-info
23
USE_SDL=	mixer
18
USE_SDL=	mixer
24
USE_QT4=	moc_build qmake_build rcc_build uic_build corelib gui xml \
19
USE_QT4=	moc_build qmake_build rcc_build uic_build corelib gui xml \
25
		svg opengl qt3support
20
		svg opengl qt3support
Lines 29-45 Link Here
29
24
30
post-patch:
25
post-patch:
31
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
26
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
32
		${WRKSRC}/application/src/textroom.cpp
27
		${WRKSRC}/application/src/textroom.cpp \
33
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
28
		${WRKSRC}/application/src/getaword.cpp \
34
		${WRKSRC}/application/src/getaword.cpp
35
	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
36
		${WRKSRC}/application/src/optionsdialog.cpp
29
		${WRKSRC}/application/src/optionsdialog.cpp
37
30
38
do-configure:
31
do-configure:
39
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
32
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
40
	${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} textroom.pro
33
	${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} textroom.pro
41
34
42
post-install:
43
	@-update-mime-database ${PREFIX}/share/mime
44
45
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)editors/textroom/pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
its behavior. If you don't feel comfortable already with your editor
4
its behavior. If you don't feel comfortable already with your editor
5
of choice, you may find it useful.
5
of choice, you may find it useful.
6
6
7
WWW:	http://code.google.com/p/textroom/
7
WWW: http://code.google.com/p/textroom/
(-)editors/textroom/pkg-plist (-2 lines)
Lines 12-16 Link Here
12
@dirrmtry share/hunspell
12
@dirrmtry share/hunspell
13
@dirrmtry share/applications
13
@dirrmtry share/applications
14
@dirrm share/textroom
14
@dirrm share/textroom
15
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
16
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

Return to bug 178019