1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/sysutils/twmn/Makefile
2018-04-18 13:57:42 +00:00

42 lines
923 B
Makefile

# $FreeBSD$
PORTNAME= twmn
PORTVERSION= g20171216
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= dg@syrec.org
COMMENT= Notification system for tiling window managers
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_system.so:devel/boost-libs
USES= qmake
USE_GITHUB= yes
GH_ACCOUNT= sboli
GH_TAGNAME= 5b92ac5
USE_QT5= core dbus gui network widgets x11extras buildtools_build
LDFLAGS+= -Wl,--as-needed # see bug#224488
PORTDOCS= README.md
PORTEXAMPLES= *
PLIST_FILES= bin/twmnc bin/twmnd
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/twmnc ${STAGEDIR}${PREFIX}/bin/twmnd
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>