blob: ae55e409cb9a3fad932a4a2db95249a291278637 (
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
|
# New ports collection makefile for: rox-filer
# Date created: 13 November 2000
# Whom: Jimmy Olgeni <olgeni@uli.it>
#
# $FreeBSD$
PORTNAME= rox
PORTVERSION= 1.0.0
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rox
DISTNAME= rox-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= olgeni@freebsd.org
RUN_DEPENDS= ${LOCALBASE}/share/Choices:${PORTSDIR}/x11-fm/rox-base
USE_GLIB= yes
USE_GTK= yes
MAN1= rox.1
do-build:
# Hopefully gtk-config and glib-config will become
# configurable, so don't bother to add patch-* files
${PERL} -pi -e "s/gtk-config/gtk12-config/g" \
${WRKSRC}/ROX-Filer/src/Makefile.in
${PERL} -pi -e "s/glib-config/glib12-config/g" \
${WRKSRC}/ROX-Filer/src/configure
# Run the custom build procedure
cd ${WRKSRC} && GTK_CONFIG=${GTK_CONFIG} ROX-Filer/AppRun --compile
do-install:
${MKDIR} ${PREFIX}/apps/ROX-Filer
cd ${WRKSRC}/ROX-Filer && ${CP} -r 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>
|