blob: 18702c6a419416f3c8b1814acf3330517e8d7221 (
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
35
36
|
# Ports collection makefile for: swarp
# Date created: 2008-01-15
# Whom: Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#
PORTNAME= swarp
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://www.suckless.org/download/ \
http://mirror.roe.ch/dist/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 generic pointer warping utility
MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lX11" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include \
-DVERSION=\\\"${PORTVERSION}\\\"" \
LD=${CC}
USE_XORG= x11
PLIST_FILES= bin/swarp
PORTDOCS= README
post-patch:
@${ECHO} -n > ${WRKSRC}/config.mk
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|