1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/x11/swarp/Makefile
Antoine Brodin a47f41affe - Stage support
- Add missing OPTIONS_DEFINE
2014-01-05 12:55:36 +00:00

39 lines
786 B
Makefile

# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$
PORTNAME= swarp
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 generic pointer warping utility
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_XORG= x11
MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lX11" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include \
-DVERSION=\\\"${PORTVERSION}\\\"" \
LD="${CC}"
PORTDOCS= README
PLIST_FILES= bin/swarp
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${ECHO_CMD} -n > ${WRKSRC}/config.mk
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>