aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2023-07-19 19:33:31 +0000
committerJason E. Hale <jhale@FreeBSD.org>2023-07-19 19:36:43 +0000
commit450329093c3c635b3555c1fb79361ce9beadcf74 (patch)
tree585805bc0a6c3424e2e3e4fe88fd9b9d8815deb9
parent1988a6409839232c3a63da972f429710d3efdac8 (diff)
downloadports-450329093c3c635b3555c1fb79361ce9beadcf74.tar.gz
ports-450329093c3c635b3555c1fb79361ce9beadcf74.zip
deskutils/semantik: Update to 1.2.10
Sort USES and decruft.
-rw-r--r--deskutils/semantik/Makefile45
-rw-r--r--deskutils/semantik/distinfo6
-rw-r--r--deskutils/semantik/pkg-plist1
3 files changed, 10 insertions, 42 deletions
diff --git a/deskutils/semantik/Makefile b/deskutils/semantik/Makefile
index f2e5793beb74..9529bcd3b92c 100644
--- a/deskutils/semantik/Makefile
+++ b/deskutils/semantik/Makefile
@@ -1,6 +1,5 @@
PORTNAME= semantik
-DISTVERSION= 1.2.8
-PORTREVISION= 1
+DISTVERSION= 1.2.10
CATEGORIES= deskutils kde
MASTER_SITES= https://waf.io/
@@ -11,8 +10,8 @@ WWW= https://waf.io/semantik.html
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= kde:5 pkgconfig python qt:5 shebangfix tar:bzip2 waf \
- desktop-file-utils gettext shared-mime-info
+USES= desktop-file-utils gettext kde:5 pkgconfig python qt:5 \
+ shared-mime-info shebangfix tar:bzip2 waf
USE_KDE= auth config configwidgets coreaddons i18n iconthemes \
kdelibs4support kio sonnet widgetsaddons xmlgui
USE_LDCONFIG= yes
@@ -31,47 +30,15 @@ SHEBANG_FILES= src/templates/beamer/wscript \
waf \
wscript
-CONFIGURE_ENV= PATH="${KDE_PREFIX}/bin:$$PATH" \
- WAF_HOME="${WRKSRC}"
-MAKE_ENV= DESTDIR="${STAGEDIR}"
-CFLAGS+= -I${LOCALBASE}/include
-CPPFLAGS+= -I${LOCALBASE}/include
-# Help WAF a bit more by simply adding the locations to the KF5
-# headers ourselves...
-CXXFLAGS+= -I${LOCALBASE}/include/KF5/KAuthCore \
- -I${LOCALBASE}/include/KF5/KConfigCore \
- -I${LOCALBASE}/include/KF5/KConfigGui \
- -I${LOCALBASE}/include/KF5/KConfigWidgets \
- -I${LOCALBASE}/include/KF5/KCoreAddons \
- -I${LOCALBASE}/include/KF5/KDELibs4Support \
- -I${LOCALBASE}/include/KF5/KI18n \
- -I${LOCALBASE}/include/KF5/KIOCore \
- -I${LOCALBASE}/include/KF5/KIOWidgets \
- -I${LOCALBASE}/include/KF5/KWidgetsAddons \
- -I${LOCALBASE}/include/KF5/KXmlGui \
- -I${LOCALBASE}/include/KF5/SonnetUi \
-
+# Let the ports system handle gtk-update-icon-cache and shared-mime-info
+MAKE_ARGS= --nogtkicons \
+ --nomimes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
-post-patch:
- @${REINPLACE_CMD} -e 's+@@LOCALBASE@@+${LOCALBASE}+' \
- ${WRKSRC}/wscript
-
-post-patch-NLS-off:
- @${REINPLACE_CMD} -e '/langs/ d' \
- ${WRKSRC}/wscript
-
-post-configure:
- # Waf injects some bizzarre 3- and 4-level ../ stacks into the include
- # paths, which don't match how KDE includes are organized, and in a
- # poudriere build don't necessarily reach /usr/local/include either.
- @${REINPLACE_CMD} -e "s+..PWD............/include+${LOCALBASE}/include+g" \
- ${WRKSRC}/build/c4che/_cache.py
-
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}-d \
diff --git a/deskutils/semantik/distinfo b/deskutils/semantik/distinfo
index 39fa38c0f347..0ec3379b5fcd 100644
--- a/deskutils/semantik/distinfo
+++ b/deskutils/semantik/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653319124
-SHA256 (semantik-1.2.8.tar.bz2) = cb2505577fe386240abbbebcc29fc697606dd576bd3d0401fba3a49de40249a6
-SIZE (semantik-1.2.8.tar.bz2) = 628492
+TIMESTAMP = 1689789536
+SHA256 (semantik-1.2.10.tar.bz2) = e5a33968461d1a47731fe0a5ce265ce507c5000a1f8b5a4ac5314f1ca055f2af
+SIZE (semantik-1.2.10.tar.bz2) = 627389
diff --git a/deskutils/semantik/pkg-plist b/deskutils/semantik/pkg-plist
index 3b7b3be358d8..4b6ff7663c2e 100644
--- a/deskutils/semantik/pkg-plist
+++ b/deskutils/semantik/pkg-plist
@@ -64,6 +64,7 @@ share/mime/packages/semantik.xml
%%DATADIR%%/templates/java/main.html
%%DATADIR%%/templates/java/run.sh
%%DATADIR%%/templates/markdown.sem.py
+%%DATADIR%%/templates/markdown/doc.md
%%DATADIR%%/templates/odp.sem.py
%%DATADIR%%/templates/odp/content.xml
%%DATADIR%%/templates/odp/manifest.xml