aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/rox-pager/Makefile
blob: f2a56e610175f17d3dfc9e0bf73ef4c96ce4f845 (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
41
42
43
44
# Ports collection Makefile for:    rox-pager
# Date created:             Jan 24 2004
# Whom:                 olgeni@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=       rox-pager
PORTVERSION=        1.0.0
PORTREVISION=       3
CATEGORIES=     x11-wm
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rox
DISTNAME=       pager-${PORTVERSION}
EXTRACT_SUFX=       .tgz

MAINTAINER=     olgeni@FreeBSD.org
COMMENT=        Pager for the ROX desktop

USE_GNOME=      gtk20 pkgconfig libxml2 libwnck
USE_AUTOCONF_VER=   213
HAS_CONFIGURE=      yes

.include <bsd.port.pre.mk>

.if (${ARCH} == "i386")
BINARIES=   FreeBSD-ix86
.else
BINARIES=   FreeBSD-${ARCH}
.endif

PLIST_SUB=  BINARIES="${BINARIES}"

CONFIGURE_ARGS=     --enable-rox --with-platform=${BINARIES}
CONFIGURE_WRKSRC=   ${WRKSRC}/Pager/src
BUILD_WRKSRC=       ${CONFIGURE_WRKSRC}
ALL_TARGET=

do-install:
    @${MKDIR} ${PREFIX}/apps/Pager
    @cd ${WRKSRC}/Pager && ${CP} -r .DirIcon AppInfo.xml AppRun AppletRun Help Options.xml ${BINARIES} ${PREFIX}/apps/Pager
    @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/apps/Pager

.include <bsd.port.post.mk>