aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/sapphire/Makefile
blob: 501e13e9ba525b6608b6615ad923aa65c845b133 (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
# New ports collection makefile for:    sapphire
# Version required: 0.14.0.2
# Date created:     26 Jan 2000
# Whom:         trevor@jpj.net
#
# $FreeBSD$
#

DISTNAME=   sapphire-0.14.0-2
PKGNAME=    sapphire-0.14.0.2
CATEGORIES= x11-wm
MASTER_SITES=   http://download.sourceforge.net/sapphire/

MAINTAINER= trevor@jpj.net

USE_GMAKE=  yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes

post-extract:
    @${CP} ${WRKSRC}/data.inst ${WRKSRC}/sapphire.inst

post-patch:
    @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/sapphire.inst

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/sapphire.inst ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/share/sapphire
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/sapphire
    @${MKDIR} ${PREFIX}/share/sapphire/menu
    ${INSTALL_DATA} ${WRKSRC}/data/menu/* ${PREFIX}/share/sapphire/menu
    @${MKDIR} ${PREFIX}/share/sapphire/themes
    ${INSTALL_DATA} ${WRKSRC}/data/themes/* ${PREFIX}/share/sapphire/themes
    @${MKDIR} ${PREFIX}/share/sapphire/wmconfig
    ${INSTALL_DATA} ${WRKSRC}/data/wmconfig/* ${PREFIX}/share/sapphire/wmconfig

.include <bsd.port.mk>