aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/uwm/Makefile
blob: a0d590daf9cdb128ebc5a6c3da03045961a9e188 (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
53
54
55
56
57
58
59
60
# New ports collection makefile for:    uwm
# Date created:             2000-10-16
# Whom:                 trevor
#
# based on the NetBSD package
# $NetBSD: Makefile,v 1.2 2000/02/02 08:07:07 itohy Exp $
# $FreeBSD$
#

PORTNAME=   uwm
PORTVERSION=    19881027
CATEGORIES= x11
MASTER_SITES=   \
    ftp://ftp.netbsd.org/pub${SUB} \
    ftp://ftp.netbsd.org/pub${SUB2} \
    ftp://ftp.planix.com/pub${SUB} \
    ftp://ftp.planix.com/pub${SUB2} \
    ftp://ftp.plig.net/pub${SUB} \
    ftp://ftp.plig.net/pub${SUB2} \
    ftp://ftp.csua.berkeley.edu/pub/.1/ports/distfiles/ \
    ftp://ftp.iastate.edu/pub/netbsd/packages/distfiles/ \
    ftp://ftp.iastate.edu/pub/netbsd/packages/distfiles/LOCAL_PORTS/ \
    ftp://sunsite.cnlab-switch.ch/mirror${SUB} \
    ftp://ftp.unina.it/pub/Unix${SUB} \
    ftp://ftp.unina.it/pub/Unix${SUB2} \
    ftp://ftp.sunsite.org.uk/Mirrors/ftp.netbsd.org/pub${SUB} \
    ftp://ftp.sunsite.org.uk/Mirrors/ftp.netbsd.org/pub${SUB2} \
    ftp://ftp.dti.ad.jp/pub${SUB} \
    ftp://ftp.dti.ad.jp/pub${SUB2} \
    ftp://ftp.jaist.ac.jp/.arc07${SUB} \
    ftp://ftp.jaist.ac.jp/.arc07${SUB2} \
    ftp://ftp.tokyonet.ad.jp${SUB} \
    ftp://ftp.sra.co.jp/pub/os${SUB} \
    ftp://ftp.sra.co.jp/pub/os${SUB2} \
    ftp://ftp.nectec.or.th/pub/bsd-distributions${SUB}
SUB=    /NetBSD/packages/distfiles/
SUB2=   ${SUB}LOCAL_PORTS/
DISTNAME=   X.V11R3uwm

MAINTAINER= trevor@FreeBSD.org

MAN1=       uwm.1
PLIST=      ${WRKDIR}/pkg-plist
USE_IMAKE=  yes
WRKSRC=     ${WRKDIR}/X.V11R3/clients/uwm

post-patch:
    ${PERL} -pi -e 's:/usr/lib/X11:${PREFIX}/lib/X11:g' ${WRKSRC}/uwm.man

pre-install:
    ${ECHO} bin/uwm > ${PLIST}
    ${ECHO} lib/X11/uwm/system.uwmrc >> ${PLIST}
    ${ECHO} @dirrm lib/X11/uwm >> ${PLIST}

post-install:
    ${MKDIR} ${PREFIX}/lib/X11/uwm
    ${INSTALL_DATA} ${WRKSRC}/default.uwmrc \
        ${PREFIX}/lib/X11/uwm/system.uwmrc

.include <bsd.port.mk>