aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-28 19:40:37 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-28 19:40:37 +0800
commit974e3e5550551fd7bf4d9437491cf6e7e282763c (patch)
tree6658d9c3f0e7cf361ca42504eda4d5b3cdcaf27e /chinese
parent4e8984223ecfb21b2d479a461b812e0076afdd8a (diff)
downloadfreebsd-ports-gnome-974e3e5550551fd7bf4d9437491cf6e7e282763c.tar.gz
freebsd-ports-gnome-974e3e5550551fd7bf4d9437491cf6e7e282763c.tar.zst
freebsd-ports-gnome-974e3e5550551fd7bf4d9437491cf6e7e282763c.zip
- Strip binary
- Add LICENSE
Diffstat (limited to 'chinese')
-rw-r--r--chinese/qe/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/chinese/qe/Makefile b/chinese/qe/Makefile
index 4f785475dff9..79cfc35ac905 100644
--- a/chinese/qe/Makefile
+++ b/chinese/qe/Makefile
@@ -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/~center5/product/qe/ \
MAINTAINER= ports@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>