summaryrefslogtreecommitdiffstats
path: root/x11/wmbutton/Makefile
blob: 7c2674a602a53f746775ea48ef5a0e8abaf22b10 (plain)
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:	wmbutton
# Date created:			10 Apr 1999
# Whom:				Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	wmbutton
PORTVERSION=	0.6.1
CATEGORIES=	x11 windowmaker
MASTER_SITES=	http://greek0.net/~greek0/wmbutton/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A dockapp that displays 9 buttons to run apps of your choice

USE_X_PREFIX=	yes
USE_XPM=	yes

SUB_FILES=	pkg-message

do-build:
	cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
		-I${X11BASE}/include/X11 -I${X11BASE}/include \
		wmb_libs.c wmbutton.c -o wmbutton \
		-L${X11BASE}/lib -lXpm -lXext -lX11

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin/wmbutton
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/.wmbutton ${EXAMPLESDIR}/dot.wmbutton
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud