summaryrefslogtreecommitdiff
path: root/graphics/xfig/Makefile
blob: 42565dafcc40c44889f62000de637a3acaa7ace9 (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
# $NetBSD: Makefile,v 1.17 1999/02/20 22:48:31 hubertf Exp $
#

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

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://epb1.lbl.gov/BVSmith/xfig/

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

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"