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

PORTNAME=	wmShutdown
PORTVERSION=	0.2
CATEGORIES=	sysutils windowmaker
MASTER_SITES=	http://grad.icmc.usp.br/~rva/pkgs/

MAINTAINER=	kaname@vamp.jpn.ph
COMMENT=	Window Maker dock application to shutdown or reboot

USE_GNOMENG=	yes
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>