aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/ude/Makefile
blob: 866e91d7a5b9bdd991698d9c66d415e11770ed4b (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
# New ports collection makefile for:    ude
# Date created:     06 Mar 2000
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   ude
PORTVERSION=    0.2.9b
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= udeproject

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

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

USE_X_PREFIX=   yes
USE_XPM=    yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.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>