f271f72f19
- update to 1.9.2 - pass maintainership to submitter - add new maintainer's distfile mirror to MASTER_SITES - specify a LICENSE - sort USES alphabetically - regenerate patches with make makepatch - remove absolute path from pkg-message - add PROVIDE, REQUIRE and KEYWORD to the rc script PR: 202267 Submitted by: A.J. "Fonz" van Werven <freebsd@skysmurf.nl>
41 lines
990 B
Makefile
41 lines
990 B
Makefile
# Created by: jabley@clear.co.nz
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfstt
|
|
PORTVERSION= 1.9.2
|
|
CATEGORIES= x11-servers
|
|
MASTER_SITES= http://archive.hadrons.org/software/xfstt/ \
|
|
http://www.skysmurf.nl/comp/FreeBSD/distfiles/
|
|
|
|
MAINTAINER= freebsd@skysmurf.nl
|
|
COMMENT= TrueType font server for X11
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= pkgconfig tar:xz
|
|
USE_XORG= fontsproto xproto
|
|
USE_RC_SUBR= xfstt
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --localstatedir=/var --disable-nls
|
|
|
|
TTFONTDIR= ${PREFIX}/share/fonts/TrueType
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
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/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for _file in INSTALL THANKS
|
|
${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|