aboutsummaryrefslogtreecommitdiffstats
path: root/print/xdvik/Makefile
blob: 27d6e3ce741a4dbf038360137423028469df97c0 (plain) (blame)
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
# New ports collection makefile for:   xdvik
# Version required:    20
# Date created:        26 Feb 1998
# Whom:                Kentaro Inagaki <JBD01226@niftyserve.ne.jp>
#
# $Id: Makefile,v 1.1.1.1 1998/06/14 22:00:04 kuriyama Exp $
#

DISTNAME=   xdvik-20a
CATEGORIES= print
MASTER_SITES=   ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20/ \
        ${MASTER_SITE_LOCAL}

MAINTAINER= JBD01226@niftyserve.ne.jp

RUN_DEPENDS=    mf:${PORTSDIR}/print/tex

BROKEN_ELF= yes

GNU_CONFIGURE=YES
#CONFIGURE_ARGS=--enable-shared=yes
USE_GMAKE=YES

MAN1=xdvi.1 gsftopk.1

pre-build:
    (cd ${WRKSRC} ; find . -name '*.orig' -exec ${RM} -f {} \;)

do-install:
    (cd ${WRKSRC}/xdvik ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})

post-install:
    ${MKDIR} ${PREFIX}/share/doc/xdvi
    ${INSTALL_DATA} ${WRKSRC}/xdvik/xdvi.FAQ ${PREFIX}/share/doc/xdvi
    ${INSTALL_DATA} ${WRKSRC}/xdvik/README ${PREFIX}/share/doc/xdvi
    ${INSTALL_DATA} ${WRKSRC}/xdvik/ChangeLog ${PREFIX}/share/doc/xdvi

.include <bsd.port.mk>