Date: Thu, 6 Dec 2012 16:55:36 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308393 - head/editors/texworks Message-ID: <201212061655.qB6GtatG093324@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Thu Dec 6 16:55:35 2012 New Revision: 308393 URL: http://svnweb.freebsd.org/changeset/ports/308393 Log: - Cleanup the Makefile, NOPORTDOCS -> PORT_OPTIONS:MDOCS - Augment port description Approved by: maintainer (gahr) Feature safe: yes Modified: head/editors/texworks/Makefile head/editors/texworks/pkg-descr Modified: head/editors/texworks/Makefile ============================================================================== --- head/editors/texworks/Makefile Thu Dec 6 16:50:43 2012 (r308392) +++ head/editors/texworks/Makefile Thu Dec 6 16:55:35 2012 (r308393) @@ -1,10 +1,10 @@ -# Created by: Diego DepaolI <trebestie@gmail.com> +# Created by: Diego Depaoli <trebestie@gmail.com> # $FreeBSD$ PORTNAME= texworks PORTVERSION= 0.4.4 CATEGORIES= editors -MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +MASTER_SITES= GOOGLE_CODE DISTNAME= ${PORTNAME}-${PORTVERSION}-r${VCS_REVISION} MAINTAINER= gahr@FreeBSD.org @@ -16,10 +16,9 @@ BUILD_DEPENDS= hunspell:${PORTSDIR}/text LIB_DEPENDS= poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 USE_GNOME= pkgconfig -MAKE_JOBS_SAFE= yes USE_QT4= qmake_build gui corelib rcc_build moc_build uic_build \ dbus xml -QMAKE_ARGS+= INSTALL_PREFIX=${PREFIX} \ +QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} \ DATA_DIR=${DATADIR} \ DOCS_DIR=${DOCSDIR} \ ICON_DIR=${PREFIX}/share/pixmaps \ @@ -27,6 +26,7 @@ QMAKE_ARGS+= INSTALL_PREFIX=${PREFIX} \ MAN_DIR=${MAN1PREFIX}/man/man1 \ TW_DICPATH=${LOCALBASE}/hunspell \ TW_HELPPATH=${DOCSDIR} +MAKE_JOBS_SAFE= yes VCS_REVISION= 1004 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -34,7 +34,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER DESKTOP_ENTRIES="TexWorks" \ "Lowering the entry barrier to the TeX world" \ "TeXworks" \ - "texworks" \ + "${PORTNAME}" \ "Utility;" \ false @@ -43,14 +43,21 @@ PLIST_FILES= bin/texworks \ share/pixmaps/TeXworks.png PORTDOCS= * +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e '/zlib/d; s|COPYING ||' ${WRKSRC}/TeXworks.pro -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e '/INSTALLS/s|documentation manual ||' ${WRKSRC}/TeXworks.pro +.if ! ${PORT_OPTIONS:MDOCS} + @${REINPLACE_CMD} -e '/INSTALLS/s|documentation manual ||' \ + ${WRKSRC}/TeXworks.pro .endif - @${REINPLACE_CMD} -e 's|\/usr\/share|\${LOCALBASE}\/share|g' ${WRKSRC}/src/TWUtils.cpp + @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ + ${WRKSRC}/src/TWUtils.cpp do-configure: - @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} TeXworks.pro + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${QMAKE} ${QMAKE_ARGS} TeXworks.pro .include <bsd.port.mk> Modified: head/editors/texworks/pkg-descr ============================================================================== --- head/editors/texworks/pkg-descr Thu Dec 6 16:50:43 2012 (r308392) +++ head/editors/texworks/pkg-descr Thu Dec 6 16:55:35 2012 (r308393) @@ -1,4 +1,11 @@ -The TeXworkS project is an effort to build a simple -TeX like TeXShop for Mac OS X. +The TeXworks project is an effort to build a simple TeX front-end program +(working environment) that will be available for all today's major desktop +operating systems. It is deliberately modeled after Dick Koch's award- +winning TeXShop for Mac OS X. -WWW: http://www.tug.org/texworks/ +TeXworks includes an integrated PDF viewer, based on the Poppler library, +and supports source/preview synchronization. This capability is based on +the "SyncTeX" feature developed by Jerome Laurens, and supported by both +the pdfTeX and XeTeX programs in TeX Live, and other current distributions. + +WWW: http://www.tug.org/texworks/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212061655.qB6GtatG093324>