svn commit: r389817 - head/editors/led

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jun 16 02:17:05 UTC 2015


Author: amdmi3
Date: Tue Jun 16 02:17:04 2015
New Revision: 389817
URL: https://svnweb.freebsd.org/changeset/ports/389817

Log:
  - Add LICENSE_FILE
  - Strip binaries

Modified:
  head/editors/led/Makefile

Modified: head/editors/led/Makefile
==============================================================================
--- head/editors/led/Makefile	Tue Jun 16 02:17:02 2015	(r389816)
+++ head/editors/led/Makefile	Tue Jun 16 02:17:04 2015	(r389817)
@@ -3,6 +3,7 @@
 
 PORTNAME=	led
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	SF/${PORTNAME}-editor/${PORTNAME}/${PORTVERSION}
 
@@ -10,6 +11,7 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Tiny text editor, with a number of useful programming features
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		perl5
 GNU_CONFIGURE=	yes
@@ -21,4 +23,8 @@ post-patch:
 	@${REINPLACE_CMD} -E 's,(bin|lib|data)dir),DESTDIR)$$(&,' \
 		${WRKSRC}/Makefile.in
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/led \
+		${STAGEDIR}${PREFIX}/lib/led/modules/perlapi.so
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list