summaryrefslogtreecommitdiff
path: root/x11/fvwm1/Makefile
blob: 189175db896195d2315b21ef6921d9fd154aa7d9 (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.8 1998/06/22 13:20:58 agc Exp $
# FreeBSD Id: Makefile,v 1.12 1997/10/11 10:42:43 jkh Exp
#

DISTNAME=	fvwm-1.24r
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/

MAINTAINER=	cjs@netbsd.org

DEPENDS+=	xpm-3.4j:../../graphics/xpm
RUN_DEPENDS=	xpmroot:../../x11/xpmroot

USE_IMAKE=	yes
XMKMF=		xmkmf && make Makefiles	# drop -a because we have no `depends' target

post-extract:
	cd ${WRKSRC}/modules; \
	for FILE in Fvwm*/Imakefile; do \
	    ${MV} $${FILE} $${FILE}.orig; \
	    ${SED} s/ComplexProgramTarget/ComplexProgramTargetNoMan/ \
		<$${FILE}.orig >$${FILE}; \
	done

post-install:
	@${MKDIR} ${PREFIX}/lib/X11/fvwm/pixmaps
	@${MKDIR} ${PREFIX}/lib/X11/fvwm/bitmaps
	${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xpm \
		${PREFIX}/lib/X11/fvwm/pixmaps
	${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xbm \
		${WRKSRC}/fvwm_icons/*.bitmap ${WRKSRC}/fvwm_icons/*.icon \
		${PREFIX}/lib/X11/fvwm/bitmaps

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