mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
0de2b40220
* install startup file * create TrueType directory * add new --notcp option (from ports/21957) and document it See PR for complete details PR: 22946 Submitted by: maintainer
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: Xfstt
|
|
# Date created: 11 September 1998
|
|
# Whom: jabley@clear.co.nz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xfstt
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-servers
|
|
MASTER_SITES= $(MASTER_SITE_SUNSITE)
|
|
MASTER_SITE_SUBDIR= X11/fonts
|
|
|
|
MAINTAINER= olgeni@uli.it
|
|
|
|
USE_X_PREFIX= yes
|
|
MAN1= xfstt.1
|
|
|
|
.if defined(NOPORTDOCS)
|
|
NODOCS= "@comment "
|
|
.endif
|
|
|
|
PLIST_SUB= NOPORTDOCS=${NODOCS}
|
|
|
|
do-install:
|
|
$(INSTALL_PROGRAM) $(WRKSRC)/xfstt $(PREFIX)/bin
|
|
$(INSTALL_MAN) $(WRKSRC)/xfstt.1x $(PREFIX)/man/man1/xfstt.1
|
|
|
|
post-install:
|
|
strip $(PREFIX)/bin/xfstt
|
|
${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" ${FILESDIR}/xfstt.sh \
|
|
> ${PREFIX}/etc/rc.d/xfstt.sh
|
|
${CHMOD} 755 ${PREFIX}/etc/rc.d/xfstt.sh
|
|
$(MKDIR) $(PREFIX)/lib/X11/fonts/TrueType
|
|
.if !defined(NOPORTDOCS)
|
|
$(MKDIR) $(PREFIX)/share/doc/xfstt
|
|
$(INSTALL_DATA) $(WRKSRC)/FAQ $(PREFIX)/share/doc/xfstt
|
|
$(INSTALL_DATA) $(WRKSRC)/CHANGES $(PREFIX)/share/doc/xfstt
|
|
$(INSTALL_DATA) $(WRKSRC)/INSTALL $(PREFIX)/share/doc/xfstt
|
|
$(INSTALL_DATA) $(WRKSRC)/THANKS.txt $(PREFIX)/share/doc/xfstt
|
|
.endif
|
|
@${ECHO}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO}
|
|
|
|
.include <bsd.port.mk>
|