freebsd-ports/lang/yorick-doc/Makefile
Jean-Yves Lefort 9f510d7e40 [1]:
- Update to 1.6.02
  - Pass maintainership to submitter

Moreover:
  - Install in ${PREFIX}/share/doc/yorick
  - Use a dynamic packing list

PR:		ports/81475 [1]
Submitted by:	Johan van Selst <johans@stack.nl> [1]
Approved by:	maintainer timeout (21 days)
2005-06-14 12:45:19 +00:00

37 lines
1.1 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://wuarchive.wustl.edu/languages/yorick/
DISTNAME= yorick-${PORTVERSION:R}-${PORTVERSION:E}-doc
EXTRACT_SUFX= .tgz
MAINTAINER= johans@stack.nl
COMMENT= Yorick interpreted language full documentation
WRKSRC= ${WRKDIR}/yorick-${PORTVERSION:R}-${PORTVERSION:E}/doc
DOCSDIR= ${PREFIX}/share/doc/yorick
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>