1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/x11-fm/rox-filer/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

# 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>