aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/rox-filer/Makefile
blob: fed508e1af01ccd4e9cb3ec2a03579829d03554e (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
# New ports collection makefile for:    rox-filer
# Date created:        13 November 2000
# Whom:                Jimmy Olgeni <olgeni@uli.it>
#
# $FreeBSD$

PORTNAME=   rox
PORTVERSION=    1.1.2
CATEGORIES= x11-fm
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rox
DISTNAME=   rox-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= olgeni@FreeBSD.org

LIB_DEPENDS=    xml.5:${PORTSDIR}/textproc/libxml \
        gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
RUN_DEPENDS=    ${LOCALBASE}/share/Choices:${PORTSDIR}/x11-fm/rox-base

USE_GLIB=   yes
USE_GTK=    yes
MAN1=       rox.1

do-build:
    # Run the custom build procedure
    cd ${WRKSRC} && GTK_CONFIG=${GTK_CONFIG} GLIB_CONFIG=${GLIB_CONFIG} ROX-Filer/AppRun --compile

do-install:
    ${MKDIR} ${PREFIX}/apps/ROX-Filer
    cd ${WRKSRC}/ROX-Filer && ${CP} -r Options.xml AppIcon.xpm FreeBSD-ix86 Messages AppRun Help pixmaps ${PREFIX}/apps/ROX-Filer
    ${CAT} ${FILESDIR}/rox | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" > ${PREFIX}/bin/rox
    ${CHMOD} 775 ${PREFIX}/bin/rox
    ${INSTALL_MAN} ${WRKSRC}/rox.1 ${PREFIX}/man/man1

.include <bsd.port.mk>