aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/ezfm/Makefile
blob: 84b0d408b66641f4d84293210e86ca08cd27b60b (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
# Created by: Andrey Zakhvatov <andy@icc.surw.chel.su>
# $FreeBSD$

PORTNAME=   ezfm
PORTVERSION=    0.4.3
PORTREVISION=   7
CATEGORIES= x11-fm
MASTER_SITES=   ftp://ftp.ma.utexas.edu/pub/mzou/
DISTNAME=   EZFM-${PORTVERSION:R}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= gahr@FreeBSD.org
COMMENT=    EZWGL-based file manager for X Window System

LICENSE=    GPLv2

LIB_DEPENDS=    libjpeg.so:${PORTSDIR}/graphics/jpeg \
        libEZ.so:${PORTSDIR}/graphics/EZWGL

USES=       gmake

WRKSRC=     ${WRKDIR}/EZFM-${PORTVERSION}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ezfm ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DATADIR}
.for file in ezfmExtension ezfmMagic ezfmrc
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DATADIR}
.endfor
    @${MKDIR} ${STAGEDIR}${DATADIR}/ezfmIcons
    cd ${WRKSRC}/ezfmIcons && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/ezfmIcons
    ${INSTALL_MAN} ${WRKSRC}/ezfm.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>