1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/x11-wm/selectwm/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

25 lines
663 B
Makefile

PORTNAME= selectwm
PORTVERSION= 0.4.1
PORTREVISION= 10
CATEGORIES= x11-wm
MASTER_SITES= http://ordiluc.net/selectwm/
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK application to let you select a window manager when starting X
USES= gnome pkgconfig tar:bzip2
USE_GNOME= gtk20
GNU_CONFIGURE= yes
PLIST_FILES= bin/selectwm share/locale/fr/LC_MESSAGES/selectwm.mo \
man/man1/selectwm.1.gz
post-patch:
@${REINPLACE_CMD} -e 's,-O2,${CFLAGS},g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,^CFLAGS =,CFLAGS +=,' -e 's,-O2,,' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|#define G.*DISABLE_DEPRECATED||g' \
${WRKSRC}/src/define.h
.include <bsd.port.mk>