Skip to content

Commit

Permalink
deskutils/semantik: Update to 1.2.10
Browse files Browse the repository at this point in the history
Sort USES and decruft.
  • Loading branch information
BSDKaffee committed Jul 19, 2023
1 parent 1988a64 commit 4503290
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 42 deletions.
45 changes: 6 additions & 39 deletions 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/

Expand All @@ -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
Expand All @@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions 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
1 change: 1 addition & 0 deletions deskutils/semantik/pkg-plist
Expand Up @@ -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
Expand Down

0 comments on commit 4503290

Please sign in to comment.