mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
5e12fb077c
PR: 120511 Submitted by: Oleg Pudeyev <oleg@bsdpower.com> (maintainer)
35 lines
720 B
Makefile
35 lines
720 B
Makefile
# 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>
|