svn commit: r444446 - in head/lang/chibi-scheme: . files
Tobias Kortkamp
tobik at FreeBSD.org
Tue Jun 27 08:29:17 UTC 2017
Author: tobik
Date: Tue Jun 27 08:29:16 2017
New Revision: 444446
URL: https://svnweb.freebsd.org/changeset/ports/444446
Log:
- Add soname to libchibi-scheme.so
- Fix installed file modes
- Enable tests
- Add LICENSE_FILE
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D11353
Deleted:
head/lang/chibi-scheme/files/
Modified:
head/lang/chibi-scheme/Makefile
Modified: head/lang/chibi-scheme/Makefile
==============================================================================
--- head/lang/chibi-scheme/Makefile Tue Jun 27 08:03:09 2017 (r444445)
+++ head/lang/chibi-scheme/Makefile Tue Jun 27 08:29:16 2017 (r444446)
@@ -3,12 +3,14 @@
PORTNAME= chibi-scheme
PORTVERSION= 0.7.3
+PORTREVISION= 1
CATEGORIES= lang
MAINTAINER= tobik at FreeBSD.org
COMMENT= Minimal Scheme implementation for use as a C extension language
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= ashinn
@@ -16,9 +18,21 @@ GH_ACCOUNT= ashinn
USES= gmake
USE_LDCONFIG= yes
-MAKE_ARGS+= MODDIR=${LOCALBASE}/lib/chibi \
- MANDIR=${LOCALBASE}/man/man1 \
- INSTALL_BIN="${INSTALL} -s" \
- PKGCONFDIR=${LOCALBASE}/libdata/pkgconfig
+MAKE_ARGS= MODDIR=${PREFIX}/lib/chibi \
+ MANDIR=${PREFIX}/man/man1 \
+ LIBCHIBI_FLAGS='-Wl,-soname="libchibi-scheme.so.${PORTVERSION}"'
+
+ALL_TARGET= all libchibi-scheme.a
+TEST_TARGET= test
+
+post-patch:
+ @${REINPLACE_CMD} -e 's@ -g -g3 -O3 @ @' \
+ -e 's@$$(SOLIBDIR)/pkgconfig@${PREFIX}/libdata/pkgconfig@' \
+ -e '/$$(SO)/ s@$$(INSTALL) -m0755 @$$(BSD_INSTALL_LIB) @' \
+ -e '/tools/ s@$$(INSTALL) -m0755 @$$(BSD_INSTALL_SCRIPT) @' \
+ -e 's@$$(INSTALL) -m0755 @$$(BSD_INSTALL_PROGRAM) @' \
+ -e '/$$(MANDIR)/ s@$$(INSTALL) -m0644 @$$(BSD_INSTALL_MAN) @' \
+ -e 's@$$(INSTALL) -m0644 @$$(BSD_INSTALL_DATA) @' \
+ ${WRKSRC}/Makefile
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list