x11/roxterm:

- Update to 3.8.4
- Move from SF to Github
- Switch build to CMake
This commit is contained in:
Lars Engels 2020-03-21 20:49:59 +00:00
parent c0076634fd
commit 3858ec4f14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528871
3 changed files with 17 additions and 101 deletions

View File

@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= roxterm
PORTVERSION= 3.3.2
PORTREVISION= 1
PORTVERSION= 3.8.4
CATEGORIES= x11
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ terminal emulator with tabs
@ -13,70 +11,20 @@ COMMENT= GTK+ terminal emulator with tabs
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lockfile>0:devel/py-lockfile@${PY_FLAVOR} \
docbook-xsl>0:textproc/docbook-xsl \
itstool:textproc/itstool \
po4a:textproc/po4a
BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libgnutls.so:security/gnutls
libgnutls.so:security/gnutls \
libpcre2-8.so:devel/pcre2
RUN_DEPENDS= xdg-open:devel/xdg-utils
USES= gettext gnome libtool:build pkgconfig python:build tar:xz xorg
USE_XORG= ice sm x11
USES= cmake gnome pkgconfig tar:xz
USE_GITHUB= yes
GH_ACCOUNT= realh
USE_GNOME= cairo librsvg2:run libxslt:build vte3
USE_CSTD= c99
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS
MAITCHFLAGS= DISABLE_GIT=True;
MAITCHFLAGS+= CC=${CC};GCC=${CC};CPP=${CC};CFLAGS=${CFLAGS};
MAITCHFLAGS+= PARALLEL=${MAKE_JOBS_NUMBER};PREFIX=${PREFIX};
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local|${LOCALBASE}|' ${WRKSRC}/maitch.py
@${REINPLACE_CMD} -e \
's|x-www-browser|xdg-open|' ${WRKSRC}/src/uri.c
do-configure:
@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \
${PYTHON_CMD} mscript.py configure)
do-build:
@(cd ${WRKSRC} && ${PYTHON_CMD} mscript.py build)
do-install:
.for i in roxterm roxterm-config
${INSTALL_PROGRAM} ${WRKSRC}/build/${i} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/build/*.1 ${STAGEDIR}${MANPREFIX}/man/man1
.for i in es fr pt_BR ru uk
@${MKDIR} ${STAGEDIR}${MANPREFIX}/man/${i}/man1
${INSTALL_MAN} ${WRKSRC}/build/po4a/${i}/*.1 ${STAGEDIR}${MANPREFIX}/man/${i}/man1
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata
${INSTALL_DATA} ${WRKSRC}/build/roxterm.appdata.xml ${STAGEDIR}${PREFIX}/share/appdata
${INSTALL_DATA} ${WRKSRC}/roxterm.desktop ${STAGEDIR}${DESKTOPDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
${INSTALL_DATA} ${WRKSRC}/roxterm.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/roxterm-config.ui ${STAGEDIR}${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} Config ${STAGEDIR}${DATADIR})
.for i in es fr pt_BR ru uk
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/build/po/${i}.mo ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/roxterm.mo
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.for i in en es fr lib pt_BR ru uk
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${i}
${INSTALL_DATA} ${WRKSRC}/Help/${i}/* ${STAGEDIR}${DOCSDIR}/${i}
.endfor
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1477594190
SHA256 (roxterm-3.3.2.tar.xz) = 33501d698971fe80e2756104ffa5541aff23f0ae2b718464006d912ac93c506e
SIZE (roxterm-3.3.2.tar.xz) = 309948
TIMESTAMP = 1584650897
SHA256 (realh-roxterm-3.8.4_GH0.tar.gz) = 9424008c2db201c1a2664cb02c1932c28fae4a2ee5bec30b40e29c2079094933
SIZE (realh-roxterm-3.8.4_GH0.tar.gz) = 520155

View File

@ -1,61 +1,29 @@
bin/roxterm
bin/roxterm-config
man/es/man1/roxterm.1.gz
man/es/man1/roxterm-config.1.gz
man/fr/man1/roxterm.1.gz
man/fr/man1/roxterm-config.1.gz
man/man1/roxterm.1.gz
man/man1/roxterm-config.1.gz
man/pt_BR/man1/roxterm.1.gz
man/pt_BR/man1/roxterm-config.1.gz
man/ru/man1/roxterm.1.gz
man/ru/man1/roxterm-config.1.gz
man/uk/man1/roxterm.1.gz
man/uk/man1/roxterm-config.1.gz
man/man1/roxterm.1.gz
share/appdata/roxterm.appdata.xml
share/applications/roxterm.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/en/guide.html
%%PORTDOCS%%%%DOCSDIR%%/en/index.html
%%PORTDOCS%%%%DOCSDIR%%/en/installation.html
%%PORTDOCS%%%%DOCSDIR%%/en/news.html
%%PORTDOCS%%%%DOCSDIR%%/es/guide.html
%%PORTDOCS%%%%DOCSDIR%%/es/index.html
%%PORTDOCS%%%%DOCSDIR%%/es/installation.html
%%PORTDOCS%%%%DOCSDIR%%/es/news.html
%%PORTDOCS%%%%DOCSDIR%%/fr/guide.html
%%PORTDOCS%%%%DOCSDIR%%/fr/index.html
%%PORTDOCS%%%%DOCSDIR%%/fr/installation.html
%%PORTDOCS%%%%DOCSDIR%%/fr/news.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/index.php
%%PORTDOCS%%%%DOCSDIR%%/lib/favicon.ico
%%PORTDOCS%%%%DOCSDIR%%/lib/header.png
%%PORTDOCS%%%%DOCSDIR%%/lib/logo_text.png
%%PORTDOCS%%%%DOCSDIR%%/lib/logo_text.xcf
%%PORTDOCS%%%%DOCSDIR%%/lib/logo_text_only.png
%%PORTDOCS%%%%DOCSDIR%%/lib/roxterm.css
%%PORTDOCS%%%%DOCSDIR%%/lib/roxterm_ie.css
%%PORTDOCS%%%%DOCSDIR%%/lib/roxterm_logo.png
%%PORTDOCS%%%%DOCSDIR%%/lib/screenshot1.png
%%PORTDOCS%%%%DOCSDIR%%/lib/screenshot2.png
%%PORTDOCS%%%%DOCSDIR%%/lib/sprites.png
%%PORTDOCS%%%%DOCSDIR%%/pt_BR/guide.html
%%PORTDOCS%%%%DOCSDIR%%/pt_BR/index.html
%%PORTDOCS%%%%DOCSDIR%%/pt_BR/installation.html
%%PORTDOCS%%%%DOCSDIR%%/pt_BR/news.html
%%PORTDOCS%%%%DOCSDIR%%/ru/guide.html
%%PORTDOCS%%%%DOCSDIR%%/ru/index.html
%%PORTDOCS%%%%DOCSDIR%%/ru/installation.html
%%PORTDOCS%%%%DOCSDIR%%/ru/news.html
%%PORTDOCS%%%%DOCSDIR%%/uk/guide.html
%%PORTDOCS%%%%DOCSDIR%%/uk/index.html
%%PORTDOCS%%%%DOCSDIR%%/uk/installation.html
%%PORTDOCS%%%%DOCSDIR%%/uk/news.html
share/icons/hicolor/scalable/apps/roxterm.svg
share/locale/es/LC_MESSAGES/roxterm.mo
share/locale/fr/LC_MESSAGES/roxterm.mo
share/locale/pt_BR/LC_MESSAGES/roxterm.mo
share/locale/ru/LC_MESSAGES/roxterm.mo
share/locale/uk/LC_MESSAGES/roxterm.mo
%%DATADIR%%/Config/Colours/GTK
%%DATADIR%%/Config/Colours/Nocturne
%%DATADIR%%/Config/Colours/Tango
%%DATADIR%%/Config/Shortcuts/Default
%%DATADIR%%/roxterm-config.ui