Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2019 02:53:12 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517301 - head/lang/mujs
Message-ID:  <201911120253.xAC2rC9O046289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Nov 12 02:53:11 2019
New Revision: 517301
URL: https://svnweb.freebsd.org/changeset/ports/517301

Log:
  lang/mujs: Enable the static library; Strip the shared library.

Modified:
  head/lang/mujs/Makefile

Modified: head/lang/mujs/Makefile
==============================================================================
--- head/lang/mujs/Makefile	Tue Nov 12 01:10:29 2019	(r517300)
+++ head/lang/mujs/Makefile	Tue Nov 12 02:53:11 2019	(r517301)
@@ -2,6 +2,7 @@
 
 PORTNAME=	mujs
 DISTVERSION=	1.0.6
+PORTREVISION=	1
 CATEGORIES=	lang devel
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
@@ -17,8 +18,8 @@ USES=		compiler:c11 gmake readline # c11 is induced by
 USE_GITHUB=	yes
 GH_ACCOUNT=	ccxvii
 USE_LDCONFIG=	yes
-ALL_TARGET=	shared
-INSTALL_TARGET=	install-shared
+ALL_TARGET=	shared static
+INSTALL_TARGET=	install-shared install-static
 
 .if defined(WITH_DEBUG) # this project manages its build options itself
 MAKE_ARGS=	build=debug
@@ -27,6 +28,10 @@ MAKE_ARGS=	build=debug
 PLIST_FILES=	bin/mujs \
 		include/mujs.h \
 		lib/libmujs.so \
+		lib/libmujs.a \
 		libdata/pkgconfig/mujs.pc
+
+post-install: # https://github.com/ccxvii/mujs/issues/99
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmujs.so
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911120253.xAC2rC9O046289>