View | Details | Raw Unified | Return to bug 133944
Collapse All | Expand All

(-)/usr/ports/print/latex-prettyref/Makefile (-4 / +8 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	latex-prettyref
8
PORTNAME=	latex-prettyref
9
PORTVERSION=	3.0
9
PORTVERSION=	3.0
10
PORTREVISION=	1
10
CATEGORIES=	print
11
CATEGORIES=	print
11
MASTER_SITES=	${MASTER_SITE_TEX_CTAN}
12
MASTER_SITES=	${MASTER_SITE_TEX_CTAN}
12
MASTER_SITE_SUBDIR=	macros/latex/contrib
13
MASTER_SITE_SUBDIR=	macros/latex/contrib
Lines 20-42 Link Here
20
RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX-base
21
RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX-base
21
22
22
USE_ZIP=	yes
23
USE_ZIP=	yes
24
PLIST_SUB=	MKTEXLSR=${MKTEXLSR}
23
25
24
TEXMFDIR=	share/texmf
26
TEXMFDIR?=	share/texmf
25
STYDIR=		tex/latex/${PORTNAME:S/^latex-//}
27
STYDIR?=		tex/latex/${PORTNAME:S/^latex-//}
26
DOCSDIR=	doc/latex/${PORTNAME:S/^latex-//}
28
DOCSDIR?=	doc/latex/${PORTNAME:S/^latex-//}
27
INSFILE=	${PORTNAME:S/^latex-//}.ins
29
INSFILE=	${PORTNAME:S/^latex-//}.ins
28
STYFILE=	${PORTNAME:S/^latex-//}.sty
30
STYFILE=	${PORTNAME:S/^latex-//}.sty
29
PDFFILE=	${PORTNAME:S/^latex-//}.pdf
31
PDFFILE=	${PORTNAME:S/^latex-//}.pdf
30
MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
32
MKTEXLSR?=	${LOCALBASE}/bin/mktexlsr
31
33
32
do-build:
34
do-build:
33
	@( cd ${WRKSRC} && tex ${INSFILE} )
35
	@( cd ${WRKSRC} && tex ${INSFILE} )
34
36
35
do-install:
37
do-install:
36
	@( cd ${WRKSRC} && \
38
	@( cd ${WRKSRC} && \
39
	  ${MKDIR} ${PREFIX}/${TEXMFDIR}/${STYDIR} && \
37
	  ${COPYTREE_SHARE} "${STYFILE}" ${PREFIX}/${TEXMFDIR}/${STYDIR} )
40
	  ${COPYTREE_SHARE} "${STYFILE}" ${PREFIX}/${TEXMFDIR}/${STYDIR} )
38
.if !defined(NOPORTDOCS)
41
.if !defined(NOPORTDOCS)
39
	@( cd ${WRKSRC} && \
42
	@( cd ${WRKSRC} && \
43
	  ${MKDIR} ${PREFIX}/${TEXMFDIR}/${DOCSDIR} && \
40
	  ${COPYTREE_SHARE} "${PDFFILE}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} )
44
	  ${COPYTREE_SHARE} "${PDFFILE}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} )
41
.endif
45
.endif
42
46
(-)/usr/ports/print/latex-prettyref/pkg-plist (+1 lines)
Lines 2-4 Link Here
2
share/texmf/tex/latex/prettyref/prettyref.sty
2
share/texmf/tex/latex/prettyref/prettyref.sty
3
%%PORTDOCS%%@dirrm share/texmf/doc/latex/prettyref
3
%%PORTDOCS%%@dirrm share/texmf/doc/latex/prettyref
4
@dirrm share/texmf/tex/latex/prettyref
4
@dirrm share/texmf/tex/latex/prettyref
5
@unexec %%MKTEXLSR%%

Return to bug 133944