From owner-svn-ports-head@FreeBSD.ORG Thu Dec 6 16:55:36 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D00A473; Thu, 6 Dec 2012 16:55:36 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 731088FC15; Thu, 6 Dec 2012 16:55:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB6GtaCV093326; Thu, 6 Dec 2012 16:55:36 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB6GtatG093324; Thu, 6 Dec 2012 16:55:36 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201212061655.qB6GtatG093324@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 6 Dec 2012 16:55:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308393 - head/editors/texworks X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 16:55:36 -0000 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 +# Created by: Diego Depaoli # $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 + 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 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/