aboutsummaryrefslogtreecommitdiff
path: root/x11/tycoon/Makefile
blob: 30a53e8bc70691010e1e24472ae81fc8f2bc643a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: steve@farrell.org

PORTNAME=	tycoon
PORTVERSION=	1.07o
PORTREVISION=	9
CATEGORIES=	x11
MASTER_SITES=	SUNSITE/X11/desktop

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Nifty set of desktop apps, including floating buttons

# Fix build with -fno-common (llvm 11)
CFLAGS+=	-fcommon

DEPRECATED=	Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
EXPIRATION_DATE=2021-04-01

LIB_DEPENDS=	libforms.so:x11-toolkits/xforms

USES=		imake xorg
USE_XORG=	xaw

post-patch:
	@${REINPLACE_CMD} -e 's,/usr/lib,${PREFIX}/lib,' \
		${WRKSRC}/xbackdrop/backdrops/index
	@${REINPLACE_CMD} -e 's|^update_file|void update_file|' \
		${WRKSRC}/xchooser/xchooser.c
	@${FIND} ${WRKSRC} -name '*.c' -type f | ${XARGS} ${REINPLACE_CMD} -e \
		's,FL_REVISION>=80,FL_REVISION >= 80 || FL_VERSION != 0,g'

pre-configure:
	@${RM} ${WRKSRC}/xbackdrop/backdrops/index?*

.include <bsd.port.mk>