aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-11-08 23:20:42 +0800
committerolgeni <olgeni@FreeBSD.org>2013-11-08 23:20:42 +0800
commitf6f1ae306f682a0a21cdf7ff4ad52a5d1f22e284 (patch)
tree61b9361e37e2c7245a95cdaf4949c93ade120272 /x11-fm
parentdf3e5a0917d9bb84203d9031e00f5940f5974223 (diff)
downloadfreebsd-ports-gnome-f6f1ae306f682a0a21cdf7ff4ad52a5d1f22e284.tar.gz
freebsd-ports-gnome-f6f1ae306f682a0a21cdf7ff4ad52a5d1f22e284.tar.zst
freebsd-ports-gnome-f6f1ae306f682a0a21cdf7ff4ad52a5d1f22e284.zip
- Switch to USES=gmake.
- Add staging support. - Do not mute install commands.
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/rox-filer/Makefile25
-rw-r--r--x11-fm/rox-filer/pkg-plist6
2 files changed, 13 insertions, 18 deletions
diff --git a/x11-fm/rox-filer/Makefile b/x11-fm/rox-filer/Makefile
index 72b6a560e7d7..9cd0704ef0f0 100644
--- a/x11-fm/rox-filer/Makefile
+++ b/x11-fm/rox-filer/Makefile
@@ -16,15 +16,11 @@ PLIST_SUB+= LOCALBASE=${LOCALBASE}
USE_AUTOTOOLS= autoconf213
USE_BZIP2= yes
-USE_GMAKE= yes
USE_XORG= x11 sm xaw xproto
USE_GNOME= atk gconf2 glib20 gnomevfs2 gtk20 libglade2 libidl libxml2 orbit2 pango
-USES= pkgconfig
+USES= gmake pkgconfig
HAS_CONFIGURE= yes
-MAN1= rox.1
-
-NO_STAGE= yes
.include <bsd.port.pre.mk>
CONFIGURE_ENV= APP_DIR=${WRKSRC}/ROX-Filer
@@ -44,16 +40,13 @@ post-configure:
@${TOUCH} ${CONFIGURE_WRKSRC}/config.status
do-install:
- @${MKDIR} ${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 ${PREFIX}/apps/ROX-Filer
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/apps/ROX-Filer
- @cd ${WRKSRC} && ${CP} -r Choices ${PREFIX}/share/
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/Choices
- @${CAT} ${FILESDIR}/rox | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" > ${PREFIX}/bin/rox
- @${CHMOD} 755 ${PREFIX}/bin/rox
- @${INSTALL_MAN} ${WRKSRC}/rox.1 ${PREFIX}/man/man1
- @${INSTALL_DATA} ${WRKSRC}/rox.xml ${PREFIX}/share/mime/packages
- @${LOCALBASE}/bin/update-mime-database ${PREFIX}/share/mime
- @${CAT} ${PKGMESSAGE}
+ @${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
+ ${CHMOD} 755 ${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.post.mk>
diff --git a/x11-fm/rox-filer/pkg-plist b/x11-fm/rox-filer/pkg-plist
index 0db178e31757..2ea154bcb823 100644
--- a/x11-fm/rox-filer/pkg-plist
+++ b/x11-fm/rox-filer/pkg-plist
@@ -144,12 +144,14 @@ apps/ROX-Filer/images/symlink.png
apps/ROX-Filer/style.css
apps/ROX-Filer/subclasses
bin/rox
+man/man1/rox.1.gz
share/Choices/MIME-types/application_postscript
share/Choices/MIME-types/text
share/Choices/MIME-types/text_html
share/mime/packages/rox.xml
-@dirrm share/Choices/MIME-types
-@dirrm share/Choices
+@dirrmtry share/mime/packages
+@dirrmtry share/Choices/MIME-types
+@dirrmtry share/Choices
@dirrm apps/ROX-Filer/images
@dirrm apps/ROX-Filer/ROX/MIME
@dirrm apps/ROX-Filer/ROX