summaryrefslogtreecommitdiff
path: root/x11/space_dapp/Makefile
blob: e4ce6efe1e5d7d5a4dcc8012c47624c259255a7e (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
# $NetBSD: Makefile,v 1.6 2018/01/14 10:40:24 wiz Exp $

PKGNAME=		space_dapp-20060717
CATEGORIES=		x11
MASTER_SITES=		https://darkshed.net/files/c_cpp/bits/

MAINTAINER=		sborrill@NetBSD.org
HOMEPAGE=		https://darkshed.net/files/c_cpp/bits/
COMMENT=		Tiny dock app to create an empty space
DISTNAME=		space_dapp.c
EXTRACT_SUFX=

INSTALLATION_DIRS=	bin

NO_CONFIGURE=		yes

WRKSRC=			${WRKDIR}

.include "../../mk/bsd.prefs.mk"

do-build:
	cd ${WRKSRC} && ${CC} -c ${CFLAGS} space_dapp.c -DSHAPE && \
		${CC} -o space_dapp space_dapp.o -lc ${LIBS} ${X11_LDFLAGS} -lX11 -lXext

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/space_dapp ${DESTDIR}${PREFIX}/bin/

.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"