1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/x11-wm/antiwm/Makefile
Baptiste Daroussin e9629e38f6 Support stage
Use options
Use do-install to avoid running buggy upstreamed install target
2014-02-28 08:46:09 +00:00

35 lines
873 B
Makefile

# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$
PORTNAME= antiwm
PORTVERSION= 0.0.5
CATEGORIES= x11-wm
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
COMMENT= Minimalist window manager inspired by Ratpoison
OPTIONS_DEFINE= DOCS
USE_XORG= x11
PLIST_FILES= bin/antiwm
PORTDOCS= README LICENSE
pre-everything::
@${ECHO_MSG} "You can build antiwm with your own conf.h using the ANTIWM_CONF knob:"
@${ECHO_MSG} "make ANTIWM_CONF=/path/to/antiwm/conf.h install clean"
post-extract:
.if defined(ANTIWM_CONF)
@${ECHO_MSG} "creating conf.h from ${ANTIWM_CONF}"
@${CP} ${ANTIWM_CONF} ${WRKSRC}/conf.h
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>