summaryrefslogtreecommitdiff
path: root/print/mgv/Makefile
blob: 38e735581b70e0411a33ed355e4babff5cc09d0b (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
# $NetBSD: Makefile,v 1.23 2010/01/27 17:29:01 joerg Exp $

DISTNAME=		mgv-3.1.5
PKGREVISION=		4
CATEGORIES=		print
MASTER_SITES=		#

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://web.archive.org/web/20020201231345/http://www.trends.net/~mu/mgv.html
COMMENT=		Motif/LessTif user interface for Ghostscript

PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_JOBS_SAFE=		no

GNU_CONFIGURE=		yes
USE_X11BASE=		yes
USE_TOOLS+=		gs:run

CONFIGURE_ARGS+=	--with-motif-includes=${MOTIFBASE}/include
CONFIGURE_ARGS+=	--with-motif-libs=${MOTIFBASE}/lib

INSTALLATION_DIRS+=	share/doc/html

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${DESTDIR}${PREFIX}/share/mgv/3.1.5/help
	${LN} -fs ${DESTDIR}${PREFIX}/share/mgv/3.1.5/help ${DESTDIR}${PREFIX}/share/doc/html/mgv

.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"

.include "../../mk/bsd.pkg.mk"