aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/ude/Makefile
blob: 3cf4ec88663294652de19fc39c81c320e90a9a9c (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
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:	ude
# Date created:		06 Mar 2000
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=	ude
PORTVERSION=	0.2.9b
PORTREVISION=	3
CATEGORIES=	x11-wm
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	udeproject

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Small, fast, compact windowmanager

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg

USE_XORG=	x11 ice sm xext xmu xpm
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

DEPRECATED=		Remove dead project
EXPIRATION_DATE=	2007-10-28

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.endif

post-patch:
	@${REINPLACE_CMD} -e  's|(getc(|(fgetc(|g' ${WRKSRC}/uwm/special.c

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}/html
	${INSTALL_DATA} ${WRKSRC}/doc/html/*.css ${DOCSDIR}/html
	${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}/html
.endif

.include <bsd.port.mk>