1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/audio/festdoc/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

37 lines
905 B
Makefile

# Created by: trevor
# $FreeBSD$
PORTNAME= festdoc
PORTVERSION= 1.4.0.1
CATEGORIES= audio accessibility
MASTER_SITES= FESTIVAL/1.4.1
DIST_SUBDIR= festival
MAINTAINER= ports@FreeBSD.org
COMMENT= Documentation for Festival
USES= makeinfo
NO_BUILD= yes
INFO= festival
FDOC= ${PREFIX}/share/doc/festival
post-extract:
${CHMOD} -R a+r ${WRKSRC}
${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
${RM} ${WRKSRC}/festival/src-manual/c3750.htm~
${RM} ${WRKSRC}/speechtools/c16909.htm~
${RMDIR} ${WRKSRC}/festival/src-manual/images_gen
do-install:
${MKDIR} ${STAGEDIR}${FDOC}
${RM} ${WRKSRC}/festival/info/festival.info.orig
cd ${WRKSRC} && info=`${FIND} . -name '*.info*' -type f` && \
${CP} $$info ${STAGEDIR}${PREFIX}/info && \
${CP} -r ${WRKSRC}/* ${STAGEDIR}${FDOC} && \
cd ${STAGEDIR}${FDOC} && \
${RM} -f $$info && \
${RMDIR} festival/info
.include <bsd.port.mk>