1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/x11-fm/rox-filer/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

58 lines
1.7 KiB
Makefile

# $FreeBSD$
PORTNAME= rox-filer
PORTVERSION= 2.11
PORTREVISION= 9
CATEGORIES= x11-fm gnome
MASTER_SITES= SF/rox/rox/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Simple and easy to use graphical file manager
LICENSE= GPLv2+
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libinotify.so:devel/libinotify
PLIST_SUB+= LOCALBASE=${LOCALBASE}
USES= gettext-runtime:build gmake pkgconfig shared-mime-info tar:bzip2
USE_XORG= ice sm x11 xaw xorgproto
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libxml2 pango
GNU_CONFIGURE= yes
CONFIGURE_ENV= APP_DIR=${WRKSRC}/ROX-Filer
CONFIGURE_ARGS= --enable-rox --with-platform=FreeBSD
CONFIGURE_WRKSRC= ${WRKSRC}/ROX-Filer/src
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
ALL_TARGET=
LIBS+= -lm
OPTIONS_DEFINE= NLS
NLS_USES= gettext-runtime:run
post-configure:
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${CONFIGURE_WRKSRC}/configure \
${CONFIGURE_WRKSRC}/choices.c \
${CONFIGURE_WRKSRC}/support.c \
${CONFIGURE_WRKSRC}/type.c \
${CONFIGURE_WRKSRC}/usericons.c \
${CONFIGURE_WRKSRC}/xdgmime.c
${TOUCH} ${CONFIGURE_WRKSRC}/config.status
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/apps/ROX-Filer
cd ${WRKSRC}/ROX-Filer && ${CP} -r .DirIcon AppInfo.xml AppRun \
Help Messages Options.xml ROX ROX-Filer Templates.ui images \
style.css subclasses ${STAGEDIR}${PREFIX}/apps/ROX-Filer
cd ${WRKSRC} && ${CP} -r Choices ${STAGEDIR}${PREFIX}/share/
${CAT} ${FILESDIR}/rox | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" > ${STAGEDIR}${PREFIX}/bin/rox
${INSTALL_MAN} ${WRKSRC}/rox.1 ${STAGEDIR}${PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
${INSTALL_DATA} ${WRKSRC}/rox.xml ${STAGEDIR}${PREFIX}/share/mime/packages
.include <bsd.port.mk>