diff options
Diffstat (limited to 'editors/textroom/Makefile')
-rw-r--r-- | editors/textroom/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/editors/textroom/Makefile b/editors/textroom/Makefile new file mode 100644 index 000000000000..bd1e88d15561 --- /dev/null +++ b/editors/textroom/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: textroom +# Date created: 27 April 2010 +# Whom: admin@mjbrune.org +# +# $FreeBSD$ +# + +PORTNAME= textroom +PORTVERSION= 0.6.3.2 +CATEGORIES= editors +MASTER_SITES= SF + +MAINTAINER= admin@mjbrune.org +COMMENT= A full screen text editor + +BUILD_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info +LIB_DEPENDS= hunspell-1.2:${PORTSDIR}/hungarian/hunspell +RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info + +USE_SDL= mixer +USE_QT_VER= 4 +QT_COMPONENTS= moc_build qmake_build rcc_build uic_build corelib gui +QMAKE_ARGS= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} +HAS_CONFIGURE= yes +MAKE_JOBS_SAFE= yes +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e 's|-lhunspell|-lhunspell-1.2|' ${WRKSRC}/textroom.pro + +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> |