aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm95/Makefile
blob: 0271b6ecd37bacff104c7e706a6132e622e5aaf8 (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
48
49
50
51
52
# New ports collection makefile for:    fvwm95-2
# Version required: 2.0.41c
# Date created:     Wed Apr 10 21:57:17 MET DST 1996
# Whom:         Andreas Klemm <andreas@knobel.gun.de>
#
# $Id: $
#

DISTNAME=   fvwm95-2.0.41c
CATEGORIES+=    x11
MASTER_SITES=   ftp://mitac11.uia.ac.be/pub/
EXTRACT_SUFX=   .tgz

MAINTAINER= andreas@knobel.gun.de

LIB_DEPENDS=    Xpm\\.4\\.:${PORTSDIR}/graphics/xpm

USE_IMAKE=  yes
#XMKMF=     xmkmf
#ALL_TARGET=    Makefiles all

post-configure:
    @ln ${WRKSRC}/fvwm/fvwm2.man ${WRKSRC}/fvwm/fvwm95-2.man

post-install:
    @echo "installing default system.fvwmrc file..."
    @mv -f ${PREFIX}/lib/X11/fvwm95-2/system.fvwmrc \
        ${PREFIX}/lib/X11/fvwm95-2/system.fvwmrc.old
    ${INSTALL} -c -m 444 ${WRKSRC}/example.fvwm2rc95 \
        ${PREFIX}/lib/X11/fvwm95-2/system.fvwmrc
    @echo "installing icons in ${PREFIX}/lib/X11/fvwm95-2/..."
    @mkdir -p ${PREFIX}/lib/X11/fvwm95-2/icons
    ${INSTALL} -c -m 444 ${WRKSRC}/icons/*.x?m \
        ${PREFIX}/lib/X11/fvwm95-2/icons
    ${INSTALL} -c -m 444 ${FILESDIR}/*.x?m \
        ${PREFIX}/lib/X11/fvwm95-2/icons
    @mkdir -p ${PREFIX}/lib/X11/fvwm95-2/mini-icons
    ${INSTALL} -c -m 444 ${WRKSRC}/mini-icons/*.x?m \
        ${PREFIX}/lib/X11/fvwm95-2/mini-icons
    @echo ""
    @echo "=========== INSTALLATION INSTRUCTIONS ======================"
    @echo "To use fvwm95-2 you have to execute the following command:"
    @echo ""
    @echo "    cp ${PREFIX}/lib/X11/fvwm95-2/system.fvwmrc ~/.fvwm2rc95"
    @echo ""
    @echo "That's it - have fun"
    @echo ""
    @echo "Andreas Klemm"
    @echo ""
    @echo ""

.include <bsd.port.mk>