aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm/Makefile
blob: 9784e31b2cdac17f2e14c77095a8c6bcd9dc57ce (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
# 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= ports@FreeBSD.org
COMMENT=    Fvwm window manager

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>