openbsd-ports/print/memoir/Makefile
sturm 15acc05601 Initial import of memoir 1.61
Memoir is a flexible class for typesetting general fiction,
non-fiction and mathematical works as books, reports, articles or
manuscripts. Documents can use 9pt, 10pt, 11pt, 12pt, 14pt or 17ptas
the normal font size. Many methods are provided to let you create your
particular design.

from Morten Liebach <m at mongers.org>
2004-04-12 11:49:53 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2004/04/12 11:49:53 sturm Exp $
COMMENT= "typeset fiction, non-fiction and mathematical books"
DISTNAME= memoir-1.61
CATEGORIES= print
MAINTAINER= Morten Liebach <m@mongers.org>
# LPPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_CASES= *) cp ${FULLDISTDIR}/$$archive ${WRKDIST};;
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/memoir/}
DISTFILES= memhfixc.sty memman.pdf memman.ist \
memoir.dtx memoir.ins mempatch.sty
DIST_SUBDIR= ${DISTNAME}
RUN_DEPENDS= :teTeX_base-*:print/teTeX/base
BUILD_DEPENDS= ${RUN_DEPENDS}
CLS_DIR= ${PREFIX}/share/texmf-local/tex/latex/memoir
DOC_DIR= ${PREFIX}/share/texmf-local/doc/latex/memoir
pre-extract:
@mkdir -p ${WRKDIST}
do-build:
@cd ${WRKBUILD}; latex memoir.ins; \
latex memoir.dtx; makeindex -s gind.ist memoir; \
latex memoir.dtx; latex memoir.dtx;
do-install:
${INSTALL_DATA_DIR} ${CLS_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKDIST}/{memoir.cls,mem*.clo,mem*.sty} ${CLS_DIR}
${INSTALL_DATA} ${WRKDIST}/{memoir.{dvi,dtx},memman.pdf} ${DOC_DIR}
NO_REGRESS= Yes
.include <bsd.port.mk>