1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/x11-servers/Xfstt/Makefile
Fernando Apesteguía fdf734090a x11-servers/Xfstt: Update to 1.11
ChangeLog: https://github.com/guillemj/xfstt/blob/master/NEWS

PR:	248690
Submitted by:	gspurki@gmail.com (maintainer)
2020-09-09 15:36:45 +00:00

44 lines
1016 B
Makefile

# Created by: jabley@clear.co.nz
# $FreeBSD$
PORTNAME= xfstt
PORTVERSION= 1.11
CATEGORIES= x11-servers
MASTER_SITES= http://archive.hadrons.org/software/xfstt/
MAINTAINER= gspurki@gmail.com
COMMENT= TrueType font server for X11
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
USES= compiler:c++11-lang pkgconfig tar:xz xorg
USE_XORG= xorgproto
USE_RC_SUBR= xfstt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --disable-nls
TTFONTDIR= ${PREFIX}/share/fonts/TrueType
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-patch:
.for file in INSTALL doc/Makefile.in src/Makefile.in
@${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file}
.endfor
post-install:
${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/xfstt.in \
> ${WRKSRC}/xfstt
${INSTALL_SCRIPT} ${WRKSRC}/xfstt ${STAGEDIR}${PREFIX}/etc/rc.d/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for _file in INSTALL THANKS
${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>