2000-01-29 05:39:38 +00:00
|
|
|
# New ports collection makefile for: dvipdfm
|
|
|
|
# Version required: 0.12.7
|
|
|
|
# Date created: 16 January 2000
|
|
|
|
# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-02-01 01:43:05 +00:00
|
|
|
DISTNAME= dvipdfm-0.12.7b
|
|
|
|
PKGNAME= dvipdfm-0.12.7
|
2000-01-29 05:39:38 +00:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= http://odo.kettering.edu/dvipdfm/
|
|
|
|
|
|
|
|
MAINTAINER= stephen@math.missouri.edu
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX \
|
|
|
|
${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
|
|
|
|
RUN_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/dvipdfm
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include \
|
|
|
|
CFLAGS=-I${PREFIX}/include\
|
|
|
|
LDFLAGS=-L${PREFIX}/lib
|
|
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/dvipdfm
|
|
|
|
strip ${PREFIX}/bin/ebb
|
|
|
|
mktexlsr
|
|
|
|
${MKDIR} ${PREFIX}/share/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/latex-support/dvipdfm.def ${PREFIX}/share/dvipdfm
|
2000-02-01 01:43:05 +00:00
|
|
|
# ${INSTALL_DATA} ${WRKSRC}/latex-support/hdvipdfm.def ${PREFIX}/share/dvipdfm
|
2000-01-29 05:39:38 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/dvipdfm.tex ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mwicks.bb ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mwicks.jpeg ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/transistor.bb ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/transistor.eps ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/transistor.fig ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/transistor.pdf ${PREFIX}/share/texmf/doc/dvipdfm
|
|
|
|
( cd ${PREFIX}/share/texmf/doc/dvipdfm ; tex dvipdfm ; ${PREFIX}/bin/dvipdfm dvipdfm ; ${RM} dvipdfm.log dvipdfm.dvi )
|
|
|
|
.endif
|
|
|
|
${CAT} ${MASTERDIR}/pkg/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|