freebsd-ports/lang/yorick-doc/Makefile
Johan van Selst 0eec5e414e Mark deprecated and refer users to lang/yorick: that port already
includes more up-to-date documentation.

Feature safe:	yes
2010-02-26 07:26:14 +00:00

39 lines
1.2 KiB
Makefile

# New ports collection makefile for: Yorick-doc
# Date created: 25 Jan 02
# Whom: David H. Munro <munro1@llnl.gov>
#
# $FreeBSD$
#
PORTNAME= yorick-doc
PORTVERSION= 1.6.02
CATEGORIES= lang math
MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/Yorick/ \
ftp://ftp.stack.nl/pub/users/johans/yorick/
DISTNAME= yorick-${PORTVERSION:R}-${PORTVERSION:E}-doc
EXTRACT_SUFX= .tgz
MAINTAINER= johans@FreeBSD.org
COMMENT= Yorick interpreted language full documentation
WRKSRC= ${WRKDIR}/yorick-${PORTVERSION:R}-${PORTVERSION:E}/doc
DOCSDIR= ${PREFIX}/share/doc/yorick
DEPRECATED= More up-to-date docs are included in the lang/yorick port
EXPIRATION_DATE= 2010-04-02
NO_BUILD= true
PLIST= ${WRKDIR}/pkg-plist
pre-install:
@cd ${WRKSRC} && \
${FIND} * ! -type d | ${SORT} | ${SED} -e 's|^|%%DOCSDIR%%/|' >> ${PLIST} && \
${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DOCSDIR%%/|' >> ${PLIST}
@${ECHO_CMD} '@dirrm %%DOCSDIR%%' >> ${PLIST}
do-install:
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && \
${FIND} * -type d ! -empty -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
${FIND} * ! -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.include <bsd.port.mk>