diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/ifxetex/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/print/ifxetex/Makefile b/print/ifxetex/Makefile index 3f2026e75a46..d7c7c2b0c057 100644 --- a/print/ifxetex/Makefile +++ b/print/ifxetex/Makefile @@ -6,6 +6,7 @@ PORTNAME= ifxetex PORTVERSION= 20080729 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/generic/${PORTNAME} @@ -23,7 +24,10 @@ EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= # empty EXTRACT_AFTER_ARGS= . +PLIST= ${WRKDIR}/pkg-plist + TEXMFDIR= share/texmf-local +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} CLASS_FILES= ${DISTFILES} @@ -31,11 +35,17 @@ PLIST_SUB= CLASSDIR=${CLASSDIR} PLIST_FILES= ${CLASSDIR}/${CLASS_FILES} PLIST_DIRS= ${CLASSDIR} +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: - ${LOCALBASE}/bin/texhash + ${MKTEXLSR} .include <bsd.port.mk> |