aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/fvwm/Makefile
blob: 55d3cc788f35bb7af48cc501f531aaf3111e2e30 (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
# New ports collection makefile for:	fvwm
# Date created:		12 May 1995
# Whom:			me
#
# $FreeBSD$
#

PORTNAME=	fvwm
PORTVERSION=	1.24r
PORTREVISION=	1
CATEGORIES=	x11-wm
MASTER_SITES=	ftp://ftp.hpc.uh.edu/pub/fvwm/version-1/ \
		ftp://ftp.ics.es.osaka-u.ac.jp/pub/CFAN/sources/1.x/

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	The fvwm window manager

NO_LATEST_LINK=	yes
USE_IMAKE=	yes
USE_XPM=	yes
USE_REINPLACE=	yes
# must overwrite the default from bsd.port.mk
XMKMF=		xmkmf
ALL_TARGET=	Makefiles all
MAN1=		FvwmAudio.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 FvwmClean.1 \
		FvwmDebug.1 FvwmIconBox.1 FvwmIdent.1 FvwmPager.1 FvwmSave.1 \
		FvwmSaveDesk.1 FvwmScroll.1 FvwmWinList.1 GoodStuff.1 fvwm.1 \
		xpmroot.1

pre-configure:
	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKSRC}/configure.h \
		${WRKSRC}/sample.fvwmrc/system.fvwmrc

post-install:
	@${MKDIR} ${PREFIX}/include/X11/pixmaps
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	${WRKSRC}/fvwm_icons/*.xpm ${PREFIX}/include/X11/pixmaps

.include <bsd.port.mk>