blob: 4d7d2923dd5aef2646d1651accd7ac2efd8fab6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.2 2012/10/08 13:45:44 asau Exp $
DISTNAME= texlive-20091011-source
PKGNAME= pdvipsk-5.98pl1.7b
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
DISTFILES= texlive-20091011-source.tar.xz \
dvipsk-ja_5.98+p1.7b.orig-jpatch.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ascii.co.jp/pb/ptex/
COMMENT= DVI-to-PostScript translator with Japanese support
CONFLICTS= ja-ptex-bin-[0-9]*
DEPENDS+= dvipsk>=5.98:../../print/dvipsk
SITES.dvipsk-ja_5.98+p1.7b.orig-jpatch.tar.gz= \
${MASTER_SITE_DEBIAN:=pool/main/d/dvipsk-ja/}
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= patch
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk
CONFIGURE_ARGS+= --with-system-kpathsea \
--with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
--with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib
INSTALLATION_DIRS+= bin
.include "../../print/kpathsea/buildlink3.mk"
pre-patch:
${PATCH} -d ${WRKSRC} -p1 -s \
< ${WRKDIR}/dvipsk-5.98-p1.7b-tl2009.diff
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pdvips ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|