843cfb439c
when DOCS=on because both ports install LICENSE_FILE into the same place. Also, following changes are made. net/tigervnc-{server,viewer}: - bump PORTREVISION due to plist & dependency change - do build tests, it introduces unnecessary dependencies on fltk net/tigervnc-server: - add missing dependency on devel/m4 - remove unnecessary dependency on x11-toolkits/fltk MFH: 2019Q2
35 lines
703 B
Makefile
35 lines
703 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= tigervnc
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.9.0
|
|
CATEGORIES= net x11-servers
|
|
|
|
MAINTAINER?= meta@FreeBSD.org
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE.TXT
|
|
|
|
USES+= cmake:insource,noninja
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= TigerVNC
|
|
CONFLICTS= tightvnc-[0-9]*
|
|
PLIST_SUB+= TIGERVNC_COMPONENT=${PORTNAME}${PKGNAMESUFFIX}-
|
|
|
|
CMAKE_ARGS+= -G "Unix Makefiles"
|
|
MAKE_ARGS+= TIGERVNC_SRCDIR=${WRKSRC}
|
|
|
|
DOCS= LICENCE.TXT README.rst
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${DOCS}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${STAGEDIR}${DOCSDIR}/${PORTNAME}${PKGNAMESUFFIX}-${f})
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|