svn commit: r387720 - head/chinese/qe

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu May 28 11:40:38 UTC 2015


Author: amdmi3
Date: Thu May 28 11:40:37 2015
New Revision: 387720
URL: https://svnweb.freebsd.org/changeset/ports/387720

Log:
  - Strip binary
  - Add LICENSE

Modified:
  head/chinese/qe/Makefile

Modified: head/chinese/qe/Makefile
==============================================================================
--- head/chinese/qe/Makefile	Thu May 28 11:40:30 2015	(r387719)
+++ head/chinese/qe/Makefile	Thu May 28 11:40:37 2015	(r387720)
@@ -3,7 +3,7 @@
 
 PORTNAME=	qe
 PORTVERSION=	0.1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	chinese
 MASTER_SITES=	http://www.cc.ncu.edu.tw/~center5/product/qe/ \
 		ftp://freebsd.sinica.edu.tw/pub/statue/qe/
@@ -11,10 +11,18 @@ MASTER_SITES=	http://www.cc.ncu.edu.tw/~
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	QE is a PE2-like editor program under U*nix
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 GNU_CONFIGURE=	yes
 USES=		gmake
 
 post-configure:
 	@${REINPLACE_CMD} -e '49s,-s,,' ${WRKSRC}/src/Makefile
 
+post-install:
+	${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/qe
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qe
+	${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/qe
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list