aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmagv/Makefile
blob: b91fc6cf853dcfb1997c13f267400c836d2f49ee (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
39
40
# ports collection makefile for:    xmagv
# Date created:     25 Oct 1998
# Whom:         Seiichirou Hiraoka
#
# $FreeBSD$
#

PORTNAME=   xmagv
PORTVERSION=    1.11
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.vector.co.jp/pack/unix/art/graphics/loader/mag/
DISTFILES=  xmagv111.tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Viewer for X Window System

WRKSRC=     ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE=  yes
USE_IMAKE=  yes
USE_XORG=   x11 xext
XMKMF=      xmkmf
MANLANG=    . ja
MAN1=       xmagv.1

DOCSDIR=    ${PREFIX}/share/doc/ja/${PORTNAME}

PLIST_FILES=    bin/xmagv
PORTDOCS=   xmagv.doc

post-install:
    ${INSTALL_MAN} ${WRKSRC}/xmagv.j ${PREFIX}/man/ja/man1
    ${MV} ${PREFIX}/man/ja/man1/xmagv.j ${PREFIX}/man/ja/man1/xmagv.1
    ${GZIP_CMD} ${PREFIX}/man/ja/man1/xmagv.1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/xmagv.doc ${DOCSDIR}
.endif

.include <bsd.port.mk>