diff options
Diffstat (limited to 'x11-fm/rox-filer/Makefile')
-rw-r--r-- | x11-fm/rox-filer/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-fm/rox-filer/Makefile b/x11-fm/rox-filer/Makefile new file mode 100644 index 000000000000..1343080aac01 --- /dev/null +++ b/x11-fm/rox-filer/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: rox-filer +# Date created: 13 November 2000 +# Whom: Jimmy Olgeni <olgeni@uli.it> +# +# $FreeBSD$ + +PORTNAME= rox +PORTVERSION= 0.1.29 +CATEGORIES= x11-fm +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= rox +DISTNAME= rox-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= olgeni@uli.it + +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} && 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> |