- Pet portlint

- Strip binaries
This commit is contained in:
Dmitry Marakasov 2015-03-08 02:33:27 +00:00
parent 6bc6d45fae
commit ec745a494c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380737

View file

@ -2,11 +2,12 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= wmii PORTNAME= wmii
DISTVERSION= 3.9.2 PORTVERSION= 3.9.2
PORTREVISION= 1
CATEGORIES= x11-wm CATEGORIES= x11-wm
MASTER_SITES= http://dl.suckless.org/wmii/ GOOGLE_CODE MASTER_SITES= http://dl.suckless.org/wmii/ GOOGLE_CODE
DISTNAME= ${PORTNAME}+ixp-${DISTVERSION}
PKGNAMESUFFIX= -devel PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}+ixp-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Dynamic, minimalist window manager for X11 COMMENT= Dynamic, minimalist window manager for X11
@ -14,10 +15,10 @@ COMMENT= Dynamic, minimalist window manager for X11
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS= wmii-3.6*
LIB_DEPENDS= libixp.so:${PORTSDIR}/devel/libixp LIB_DEPENDS= libixp.so:${PORTSDIR}/devel/libixp
CONFLICTS= wmii-3.6*
USES= pkgconfig tar:tbz USES= pkgconfig tar:tbz
USE_XORG= x11 xext xrandr xrender xinerama xft USE_XORG= x11 xext xrandr xrender xinerama xft
@ -34,4 +35,9 @@ post-patch:
@${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib, ; /^CFLAGS +=/d' \ @${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib, ; /^CFLAGS +=/d' \
${WRKSRC}/config.mk ${WRKSRC}/config.mk
post-install:
.for f in bin/wimenu bin/wmii bin/wmii9menu bin/wmiir lib/libwmii_hack.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f}
.endfor
.include <bsd.port.mk> .include <bsd.port.mk>