aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wmshutdown/Makefile
blob: cac52b0de1938b545516e0c2c28e6149d03b5df4 (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=   2
CATEGORIES= sysutils windowmaker
MASTER_SITES=   http://freebsd.unixfreunde.de/sources/ \
        http://mirror2.unixfreunde.de/

MAINTAINER= kaname@vamp.jpn.ph
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>