svn commit: r308386 - head/editors/texworks
Pietro Cerutti
gahr at FreeBSD.org
Thu Dec 6 15:06:40 UTC 2012
Author: gahr
Date: Thu Dec 6 15:06:39 2012
New Revision: 308386
URL: http://svnweb.freebsd.org/changeset/ports/308386
Log:
- Update to 0.4.4
Release announcement: http://tug.org/pipermail/texworks/2012q2/005468.html
- Fix DESKTOP entry
- Install MAN1 page
- Respect NOPORTDOCS
Feature safe: yes
Modified:
head/editors/texworks/Makefile
head/editors/texworks/distinfo (contents, props changed)
Modified: head/editors/texworks/Makefile
==============================================================================
--- head/editors/texworks/Makefile Thu Dec 6 14:27:28 2012 (r308385)
+++ head/editors/texworks/Makefile Thu Dec 6 15:06:39 2012 (r308386)
@@ -2,41 +2,55 @@
# $FreeBSD$
PORTNAME= texworks
-PORTVERSION= 0.2.2
-PORTREVISION= 6
+PORTVERSION= 0.4.4
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-r${VCS_REVISION}
MAINTAINER= gahr at FreeBSD.org
COMMENT= Simple TeX front-end program
+LICENSE= GPLv2
+
BUILD_DEPENDS= hunspell:${PORTSDIR}/textproc/hunspell
LIB_DEPENDS= poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
-USE_GMAKE= yes
+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} \
+ DATA_DIR=${DATADIR} \
+ DOCS_DIR=${DOCSDIR} \
+ ICON_DIR=${PREFIX}/share/pixmaps \
+ DESKTOP_DIR=${PREFIX}/share/applications \
+ MAN_DIR=${MAN1PREFIX}/man/man1 \
+ TW_DICPATH=${LOCALBASE}/hunspell \
+ TW_HELPPATH=${DOCSDIR}
-MAKE_ENV+= QTDIR=${QT_PREFIX}
+VCS_REVISION= 1004
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DESKTOP_ENTRIES="TexWorks" \
"Lowering the entry barrier to the TeX world" \
- "TeXworks.png" \
+ "TeXworks" \
"texworks" \
- "Application;Utility;" \
+ "Utility;" \
false
+
+MAN1= texworks.1
PLIST_FILES= bin/texworks \
share/pixmaps/TeXworks.png
+PORTDOCS= *
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
+.endif
@${REINPLACE_CMD} -e 's|\/usr\/share|\${LOCALBASE}\/share|g' ${WRKSRC}/src/TWUtils.cpp
do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} TeXworks.pro
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/texworks ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/res/images/TeXworks.png ${PREFIX}/share/pixmaps/TeXworks.png
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} TeXworks.pro
.include <bsd.port.mk>
Modified: head/editors/texworks/distinfo
==============================================================================
--- head/editors/texworks/distinfo Thu Dec 6 14:27:28 2012 (r308385)
+++ head/editors/texworks/distinfo Thu Dec 6 15:06:39 2012 (r308386)
@@ -1,2 +1,2 @@
-SHA256 (texworks-0.2.2.tar.gz) = 3f93d8c0a1be9eb2033a1ece1366144b73bff191c38b84126325a208d4acdf59
-SIZE (texworks-0.2.2.tar.gz) = 1899996
+SHA256 (texworks-0.4.4-r1004.tar.gz) = 5a51867cb88dd1496c88664b484d9b8b6e267e68bec967a8a0b45d3c77bff5b4
+SIZE (texworks-0.4.4-r1004.tar.gz) = 5305883
More information about the svn-ports-head
mailing list