freebsd-ports/x11/swarp/Makefile
Tobias Kortkamp fa2d96d54d Reassign maintainership of x11/swarp
PR:		221392
Submitted by:	Dmitri Goutnik <dg@syrec.org>
Approved by:	Mason Loring Bliss <mason@blisses.org> (maintainer, implicit)
2017-08-10 19:17:14 +00:00

35 lines
724 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= dg@syrec.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
post-patch:
@${ECHO_CMD} -n > ${WRKSRC}/config.mk
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>