aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/novawm/Makefile
blob: ae8b74f902cdcf227fbc7856d21926297e0bc417 (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
# New ports collection makefile for:    NovaWM
# Date created:             20 June 2002
# Whom:                 Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=   novawm
PORTVERSION=    0.8
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   NovaWM-${PORTVERSION}_alpha

MAINTAINER= ports@FreeBSD.org
COMMENT=    A window manager for X, developed with speed, size, and style in mind

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_XPM=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
MAKE_ARGS=  INCLUDES=-I${X11BASE}/include \
        CXXFLAGS="${CXXFLAGS} -D_WIN_GNOME_SUPPORT" \
        novawm_LDFLAGS=-L${X11BASE}/lib

PLIST_FILES=    bin/novawm
.if !defined(NOPORTDOCS)
PORTDOCS=   AUTHORS ChangeLog INSTALL README TODO
.endif

post-extract:
    @${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics
    @${CHMOD} -R +w ${WRKSRC}/.xvpics

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>