aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmbutton/Makefile
blob: 04942fc902aa116657718bf741f3b3e1705ac82c (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
# New ports collection makefile for:    wmbutton
# Date created:         10 Apr 1999
# Whom:             Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   wmbutton
PORTVERSION=    0.4
CATEGORIES= x11 windowmaker
MASTER_SITES=   http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jim

MAINTAINER= jim@FreeBSD.org

USE_X_PREFIX=   yes
USE_XPM=    yes

do-build:
    @(cd ${WRKSRC} && make)

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin

post-install:
    @${ECHO} "===>   Installing .wmbutton as ${PREFIX}/share/examples/wmbutton/wmbutton"
    @${ECHO} "===>   Modify if you wish and copy to ~/.wmbutton"
    @${MKDIR} ${PREFIX}/share/examples/wmbutton && ${CHMOD} a+rx ${PREFIX}/share/examples/wmbutton
    @${INSTALL_DATA} ${WRKSRC}/.wmbutton ${PREFIX}/share/examples/wmbutton/wmbutton
    @${ECHO} "===>   Installing README in ${PREFIX}/share/doc/wmbutton"
    @${ECHO} "===>   Please read it for usage instructions"
    @${MKDIR} ${PREFIX}/share/doc/wmbutton && ${CHMOD} a+rx ${PREFIX}/share/doc/wmbutton
    @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmbutton

.include <bsd.port.mk>