aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm/Makefile
blob: ba0a774b84dc8f82299c3c37f98bfe52039dd224 (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
# Created by: me
# $FreeBSD$

PORTNAME=   fvwm
PORTVERSION=    1.24r
PORTREVISION=   5
CATEGORIES= x11-wm
MASTER_SITES=   ftp://ftp.fvwm.org/pub/fvwm/version-1/
PKGNAMESUFFIX=  1${PKGNAMESUFFIX2}

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    The fvwm window manager

NO_LATEST_LINK= yes

USES=       imake
USE_XORG=   xbitmaps xpm xext x11 xmu

pre-configure:
    ${REINPLACE_CMD} -e '/DependSubdirs/y,/*#,   ,' ${WRKSRC}/Imakefile
    ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
        ${WRKSRC}/configure.h \
        ${WRKSRC}/sample.fvwmrc/system.fvwmrc

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/pixmaps
    ${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xpm \
        ${STAGEDIR}${PREFIX}/include/X11/pixmaps

.include <bsd.port.mk>