1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

This is a beginning-of-page hook for LaTeX.

Using the \AtBeginPage hook, you can add material in the background
of each page.

WWW: http://www.ctan.org/tex-archive/macros/latex/contrib/bophook

PR:		ports/167789
Submitted by:	Hiroto Kagotani <hiroto.kagotani@gmail.com>
This commit is contained in:
Pawel Pekala 2012-05-19 09:22:54 +00:00
parent 1f83322899
commit e5a36098a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296948
4 changed files with 54 additions and 0 deletions

View File

@ -26,6 +26,7 @@
SUBDIR += bibcursed
SUBDIR += biblio-py
SUBDIR += bibview
SUBDIR += bophook
SUBDIR += c2ps-a4
SUBDIR += c2ps-letter
SUBDIR += catdvi

45
print/bophook/Makefile Normal file
View File

@ -0,0 +1,45 @@
# New ports collection makefile for: bophook
# Date created: 2012-05-11
# Whom: Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
PORTNAME= bophook
PORTVERSION= 0.02
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/
DISTNAME= ${PORTNAME}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= Style file providing a beginning-of-page hook for LaTeX
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
PLIST= ${WRKDIR}/pkg-plist
TEXMFDIR= share/texmf-local
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME}
CLASS_FILES= ${PORTNAME}.sty
do-build:
cd ${WRKSRC} && latex ${PORTNAME}.ins
pre-install:
${ECHO_CMD} "${CLASSDIR}/${CLASS_FILES}" > ${PLIST}
${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST}
${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
do-install:
@${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

2
print/bophook/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (bophook.zip) = 08fd05b340ae25724d256d71d28e69c805f023f78ca96fbc828635609ff992e7
SIZE (bophook.zip) = 50289

6
print/bophook/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
This is a beginning-of-page hook for LaTeX.
Using the \AtBeginPage hook, you can add material in the background
of each page.
WWW: http://www.ctan.org/tex-archive/macros/latex/contrib/bophook