blob: add84c30f51663c6989af23a793a360032672a6b (
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: setlayout
# Date created: 17 December 2007
# Whom: oleg@bsdpower.com
#
# $FreeBSD$
#
PORTNAME= setlayout
DISTVERSION= 20080210
CATEGORIES= x11
MASTER_SITES= http://icculus.org/openbox/tools/
DISTFILES= ${PORTNAME}.c
EXTRACT_ONLY= #none
MAINTAINER= oleg@bsdpower.com
COMMENT= Arrange desktops in an MxN grid layout
USE_XORG= x11
NO_WRKSUBDIR= yes
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.pre.mk>
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} `pkg-config --cflags --libs x11` ${DISTFILES}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>
|