aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wmshutdown/Makefile
blob: ec6bfbdc5d7f6dc359ae3a4814cff1a6d623e9be (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
# New ports collection makefile for:   wmshutdown
# Date created:        26 November 2002
# Whom:                nishida
#
# $FreeBSD$
#

PORTNAME=   wmShutdown
PORTVERSION=    0.2
PORTREVISION=   3
CATEGORIES= sysutils windowmaker
MASTER_SITES=   http://freebsd.unixfreunde.de/sources/ \
        http://mirror2.unixfreunde.de/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Window Maker dock application to shutdown or reboot

USE_GNOME=  gtk12
USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_XPM=    yes

do-install:
    @${ECHO} "wmShutdown -- Rafael V. Aroca <rafael@linuxqos.cjb.net>"
    @${MKDIR} ${PREFIX}/share/wmShutdown/pixmaps && ${CHMOD} a+rx ${PREFIX}/share/wmShutdown/pixmaps
    @${INSTALL_PROGRAM} ${WRKSRC}/wmShutdown ${PREFIX}/bin
    @${INSTALL_PROGRAM} -g wheel -o root ${WRKSRC}/Shutdown ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/Shutdown ${PREFIX}/bin
    @${CHMOD} +s ${PREFIX}/bin/Shutdown
    @${INSTALL_DATA} ${WRKSRC}/wmShutdown.xpm ${PREFIX}/share/wmShutdown/pixmaps/wmShutdown.xpm

post-install:
    @${ECHO} "===> Installed. Just type wmShutdown to use it"

.include <bsd.port.mk>