4ed51cf1d4
- Install into a package directory under tex/latex to follow TDS. - Use texmf-dirs to install into texmf-local. Bump PKGREVISION.
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2006/04/07 03:30:36 minskim Exp $
|
|
#
|
|
|
|
DISTNAME= prosper-1.00.4
|
|
PKGNAME= tex-${DISTNAME}
|
|
PKGREVISION= 4
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prosper/}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} PPRblends.sty.gz
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://prosper.sourceforge.net/
|
|
COMMENT= LaTeX class for writing transparencies
|
|
|
|
WRKSRC= ${WRKDIR}/prosper
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
USE_DIRS+= texmf-1.0
|
|
|
|
TEXMF= ${PKG_LOCALTEXMFPREFIX}
|
|
PROSPERDIR= ${TEXMF}/tex/latex/prosper
|
|
|
|
DOCS= AUTHORS ChangeLog FAQ INSTALL NEWS README TODO \
|
|
TROUBLESHOOTINGS
|
|
DOCDIR= ${PREFIX}/share/doc/tex-prosper
|
|
EGDIR= ${PREFIX}/share/examples/tex-prosper
|
|
|
|
.include "../../print/teTeX/module.mk"
|
|
|
|
post-extract:
|
|
${MV} ${WRKDIR}/PPRblends.sty ${WRKSRC}/contrib
|
|
${MV} ${WRKSRC}/doc/doc-examples ${WRKSRC}/examples
|
|
${FIND} ${WRKSRC} -name CVS -print0 | ${XARGS} -0 ${RM} -rf
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PROSPERDIR}
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
cd ${WRKSRC} && ${PAX} -rw -pp -pm *.sty *.cls img contrib designer \
|
|
${PROSPERDIR}
|
|
cd ${WRKSRC}/doc && ${PAX} -rw -pp -pm . ${DOCDIR}
|
|
cd ${WRKSRC}/examples && ${PAX} -rw -pp -pm . ${EGDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|