2000-11-26 04:53:53 +00:00
|
|
|
# New ports collection makefile for: rox-filer
|
|
|
|
# Date created: 13 November 2000
|
|
|
|
# Whom: Jimmy Olgeni <olgeni@uli.it>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rox
|
2000-12-27 13:02:39 +00:00
|
|
|
PORTVERSION= 1.0.0
|
2000-11-26 04:53:53 +00:00
|
|
|
CATEGORIES= x11-fm
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= rox
|
|
|
|
DISTNAME= rox-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-01-24 12:43:14 +00:00
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
2000-11-26 04:53:53 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2000-12-27 13:02:39 +00:00
|
|
|
cd ${WRKSRC} && GTK_CONFIG=${GTK_CONFIG} ROX-Filer/AppRun --compile
|
2000-11-26 04:53:53 +00:00
|
|
|
|
|
|
|
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>
|