summaryrefslogtreecommitdiffstats
path: root/x11-fm/ezfm/Makefile
blob: fdf8d1873adc5d6eee64c344e13b31f7033adfe2 (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
36
37
38
39
40
41
42
# New ports collection makefile for:	ezfm
# Version required:			0.4
# Date created:				27 July 1998
# Whom:					Andrey Zakhvatov
#
# $Id: Makefile,v 1.5 1998/10/20 01:25:55 steve Exp $
#

DISTNAME=	EZFM-0.4-src
PKGNAME=	ezfm-0.4
CATEGORIES=	x11-fm
MASTER_SITES=	ftp://ftp.ma.utexas.edu/pub/mzou/
EXTRACT_SUFX=	.tgz

MAINTAINER=	andy@icc.surw.chel.su

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		EZ.1:${PORTSDIR}/graphics/EZWGL

WRKSRC=		${WRKDIR}/EZFM-0.4
USE_X_PREFIX=	yes
USE_GMAKE=	yes

MAN1=		ezfm.1

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/ezfm ${PREFIX}/bin
	@ ${MKDIR} ${PREFIX}/share/ezfm
.for file in ezfmExtension ezfmMagic ezfmrc
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ezfm
.endfor
	@ ${MKDIR} ${PREFIX}/share/ezfm/ezfmIcons
	@ cd ${WRKSRC}/ezfmIcons; tar -cf - . | (cd ${PREFIX}/share/ezfm/ezfmIcons; tar -xf - )
	@ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/ezfm
	@ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/ezfm
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud