From 666ce82b662bf3f5e9b1cfacc7254aab08616d6b Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 8 Mar 2015 02:33:19 +0000 Subject: [PATCH] - Pet portlint - Strip binaries --- x11-wm/wmii/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/x11-wm/wmii/Makefile b/x11-wm/wmii/Makefile index 8d5480b9ee8e..5959e2a5d9fa 100644 --- a/x11-wm/wmii/Makefile +++ b/x11-wm/wmii/Makefile @@ -3,19 +3,19 @@ PORTNAME= wmii DISTVERSION= 3.6 # this is stable version; for 3.9.x, use -devel port -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-wm MASTER_SITES= http://dl.suckless.org/wmii/ MAINTAINER= ports@FreeBSD.org COMMENT= Dynamic, minimalist window manager for X11 -LIB_DEPENDS= libixp.so:${PORTSDIR}/devel/libixp -RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu - LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +LIB_DEPENDS= libixp.so:${PORTSDIR}/devel/libixp +RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu + CONFLICTS= wmii-3.9* USE_XORG= x11 xextproto xt xext @@ -49,4 +49,9 @@ post-patch: .SILENT ${REINPLACE_CMD} -e 's|strlcat|wmii_&|' ${WRKSRC}/include/util.h \ ${WRKSRC}/cmd/util.c ${WRKSRC}/cmd/wmii/client.c +post-install: +.for f in wmii wmii9menu wmiir + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} +.endfor + .include