Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2015 12:14:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389699 - head/devel/coccinelle
Message-ID:  <201506151214.t5FCEolb091054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jun 15 12:14:49 2015
New Revision: 389699
URL: https://svnweb.freebsd.org/changeset/ports/389699

Log:
  - Add LICENSE_FILE
  - Strip libraries

Modified:
  head/devel/coccinelle/Makefile

Modified: head/devel/coccinelle/Makefile
==============================================================================
--- head/devel/coccinelle/Makefile	Mon Jun 15 12:13:10 2015	(r389698)
+++ head/devel/coccinelle/Makefile	Mon Jun 15 12:14:49 2015	(r389699)
@@ -3,6 +3,7 @@
 
 PORTNAME=	coccinelle
 DISTVERSION=	1.0.0-rc22
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://coccinelle.lip6.fr/distrib/
 
@@ -10,6 +11,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Program matching and transformation engine
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/license.txt
 
 LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
 
@@ -18,7 +20,11 @@ GNU_CONFIGURE=	yes
 USE_PERL5=	build
 USE_OCAML=	3.0+
 USE_OCAML_CAMLP4=yes
-MAKE_ARGS+=	PYTHON_VERSION=${PYTHON_VER}
-CONFIGURE_ENV+=	PYVER=${PYTHON_VER} PYTHON=${PYTHON_CMD}
+MAKE_ARGS=	PYTHON_VERSION=${PYTHON_VER}
+CONFIGURE_ENV=	PYVER=${PYTHON_VER} PYTHON=${PYTHON_CMD}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${DATADIR}/spatch
+	${STRIP_CMD} ${STAGEDIR}${DATADIR}/*.so
 
 .include <bsd.port.mk>



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