summaryrefslogtreecommitdiff
path: root/x11-wm/mlvwm/Makefile
blob: e1cc427056baaf63337bf171354691289850dae7 (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
# New ports collection makefile for:   mlvwm
# Version required:    0.8.9
# Date created:        19 Januruary 1997
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#

DISTNAME=	mlvwm089
PKGNAME=	mlvwm-0.8.9
CATEGORIES=	x11-wm
MASTER_SITES=	http://www.bioele.nuee.nagoya-u.ac.jp/member/tak/mlvwm/ \
		http://www.bioele.nuee.nagoya-u.ac.jp/member/tak/
DISTFILES=	mlvwm089.tgz mini-icons.tar.gz

MAINTAINER=	nacai@iname.com

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm

WRKSRC=		${WRKDIR}/mlvwm089
USE_IMAKE=	yes
EXTRACT_ONLY=	mlvwm089.tgz
MAN1=		mlvwm.1
MANCOMPRESSED=	no

post-install:
	${MKDIR} ${PREFIX}/lib/X11/mlvwm/pixmap
	${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${PREFIX}/lib/X11/mlvwm/pixmap
	${INSTALL_DATA} ${WRKSRC}/sample_rc/Mlvwm* ${PREFIX}/lib/X11/mlvwm
	${RM} -f ${PREFIX}/lib/X11/mlvwm/*.orig
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
		${DISTDIR}/mini-icons.tar.gz \
		${EXTRACT_AFTER_ARGS} \
		-C ${PREFIX}/lib/X11/mlvwm/pixmap
.if !defined(NOPORTDOCS)
	${INSTALL_MAN} ${WRKSRC}/man/mlvwm.1 ${PREFIX}/man/man1
.endif

.include <bsd.port.mk>