summaryrefslogtreecommitdiff
path: root/graphics/xfig/Makefile
blob: 598c2b5e436938c8d8519d3523f41085a4cef874 (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
# $NetBSD: Makefile,v 1.12 1998/07/04 05:53:33 mycroft Exp $
#

DISTNAME=		xfig.3.2.2
PKGNAME=		xfig-3.2.2
WRKSRC=			${WRKDIR}/xfig.3.2.2
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	applications/drawing_tools/xfig

MAINTAINER=		root@garbled.futureone.com

DEPENDS+=		transfig-3.2.1:../../print/transfig
DEPENDS+=		xpm-3.4j:../../graphics/xpm
DEPENDS+=		jpeg-6b:../../graphics/jpeg
DEPENDS+=		Xaw3d-1.5:../../x11/Xaw3d

CONFLICTS=		xfig-3.2

USE_IMAKE=		yes

post-install:
	@${MKDIR} ${X11BASE}/share/examples/xfig
	@${CP} ${WRKSRC}/Examples/*.fig ${X11BASE}/share/examples/xfig
	@${CP} ${WRKSRC}/Examples/*.jpg ${X11BASE}/share/examples/xfig
	@${CP} ${WRKSRC}/Examples/*.eps ${X11BASE}/share/examples/xfig
	@${CP} ${WRKSRC}/Examples/*.xbm ${X11BASE}/share/examples/xfig
	@${CP} ${WRKSRC}/Examples/*.gif ${X11BASE}/share/examples/xfig
	@${CP} ${WRKSRC}/Examples/*.xpm ${X11BASE}/share/examples/xfig
	@${RM} ${X11BASE}/share/doc/xfig/html/images/add-arrow-button.gif.bak \
	   ${X11BASE}/share/doc/xfig/html/images/open-compound-button.gif.bak \
	   ${X11BASE}/share/doc/xfig/html/images/screen-image.fig.bak \
	   ${X11BASE}/share/doc/xfig/html/images/update-control.gif.bak

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