Skip to content

Commit

Permalink
science/v_sim: add missing dependencies + strip libs
Browse files Browse the repository at this point in the history
Since I’m there, add missing dependencies and strip libraries.
  • Loading branch information
thierry-FreeBSD committed Oct 16, 2022
1 parent 2994c79 commit fc6eb8e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions science/v_sim/Makefile
@@ -1,6 +1,6 @@
PORTNAME= v_sim
DISTVERSION= 3.8.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= science

MAINTAINER= thierry@FreeBSD.org
Expand Down Expand Up @@ -36,7 +36,7 @@ USES= autoreconf blaslapack compiler:c11 fortran gl gmake gnome \
shebangfix tar:bzip2 xorg
SHEBANG_GLOB= *.py
USE_XORG= x11
USE_GNOME= cairo gtk30 intltool introspection
USE_GNOME= cairo gtk30 gdkpixbuf2 intltool introspection
USE_GL= gl glu
USE_GITLAB= yes
GL_ACCOUNT= l_sim
Expand Down Expand Up @@ -72,10 +72,8 @@ PLIST_SUB+= AB="@comment "

.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
USES+= gettext-tools
PLIST_SUB+= NLS="@comment "
.endif

pre-configure:
Expand All @@ -97,4 +95,8 @@ pre-configure-EXAMPLES-off:
${REINPLACE_CMD} -e 's|: install-v_simexamplesDATA|:|' \
${WRKSRC}/lib/python/Makefile.am

post-install:
${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name "lib*.so.8.0.0" | \
${XARGS} ${STRIP_CMD}

.include <bsd.port.mk>

0 comments on commit fc6eb8e

Please sign in to comment.