mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
ce0191e49e
Approved by: garga (mentor)
35 lines
835 B
Makefile
35 lines
835 B
Makefile
# New ports collection makefile for: selectwm
|
|
# Date created: 13 January 2004
|
|
# Whom: Wesley Shields <wxs@csh.rit.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= selectwm
|
|
PORTVERSION= 0.4.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://ordiluc.net/selectwm/
|
|
|
|
MAINTAINER= wxs@FreeBSD.org
|
|
COMMENT= A GTK application to let you select a window manager when starting X
|
|
|
|
MAN1= selectwm.1
|
|
|
|
USE_BZIP2= yes
|
|
USE_GETOPT_LONG= yes
|
|
USE_GNOME= gtk20
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/selectwm share/locale/fr/LC_MESSAGES/selectwm.mo
|
|
|
|
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>
|