diff options
author | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-07-10 16:42:59 +0800 |
---|---|---|
committer | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-07-10 16:42:59 +0800 |
commit | 6ded1e2c1956beec29ea24727752c6e06dfc18ef (patch) | |
tree | c4c0d4d14d34e8b3dfc28aae9e5a18754fafefbd /archivers | |
parent | 93939808fc2724ceba3e08e34e6892792dac79c5 (diff) | |
download | marcuscom-ports-6ded1e2c1956beec29ea24727752c6e06dfc18ef.tar marcuscom-ports-6ded1e2c1956beec29ea24727752c6e06dfc18ef.tar.gz marcuscom-ports-6ded1e2c1956beec29ea24727752c6e06dfc18ef.tar.bz2 marcuscom-ports-6ded1e2c1956beec29ea24727752c6e06dfc18ef.tar.lz marcuscom-ports-6ded1e2c1956beec29ea24727752c6e06dfc18ef.tar.xz marcuscom-ports-6ded1e2c1956beec29ea24727752c6e06dfc18ef.tar.zst marcuscom-ports-6ded1e2c1956beec29ea24727752c6e06dfc18ef.zip |
Sync with FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12434 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/file-roller/Makefile | 26 | ||||
-rw-r--r-- | archivers/file-roller/pkg-plist | 9 |
2 files changed, 21 insertions, 14 deletions
diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index 531dfaec9..e4173d168 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -3,7 +3,7 @@ # Whom: Anders Nordby <anders@FreeBSD.org> # # $FreeBSD$ -# $MCom$ +# $MCom: ports/archivers/file-roller/Makefile,v 1.157 2009/06/16 10:59:08 kwm Exp $ # PORTNAME= file-roller @@ -16,6 +16,8 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= An archive manager for zip files, tar, etc +OPTIONS= NAUTILUS "Enable Nautilus extension" on + RUN_DEPENDS= ${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar USE_LDCONFIG= yes @@ -24,27 +26,37 @@ USE_GETTEXT= yes INSTALLS_OMF= yes INSTALLS_ICONS= yes USE_GMAKE= yes -USE_GNOME= gnomeprefix intlhack gnomehack desktopfileutils nautilus2 \ - gnomedocutils +USE_GNOME= gnomeprefix intlhack gnomehack desktopfileutils gnomedocutils \ + gtk20 gconf2 +USE_XORG= sm GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +PORTDOCS= AUTHORS NEWS README TODO ChangeLog GCONF_SCHEMAS= file-roller.schemas +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_NAUTILUS) +USE_GNOME+= nautilus2 +PLIST_SUB+= NAUTILUS="" +.else +PLIST_SUB+= NAUTILUS="@comment " +CONFIGURE_ARGS+= --disable-nautilus-actions +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/fr-command-tar.c - @${FIND} ${WRKSRC} -name "fr-command-*.c" | ${XARGS} ${REINPLACE_CMD} \ - -e 's|atoll|fr_atoll|g' post-install: @-update-desktop-database .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -.for f in AUTHORS NEWS README TODO +.for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/archivers/file-roller/pkg-plist b/archivers/file-roller/pkg-plist index bab0161f6..e5e3adaea 100644 --- a/archivers/file-roller/pkg-plist +++ b/archivers/file-roller/pkg-plist @@ -1,12 +1,8 @@ bin/file-roller -lib/nautilus/extensions-2.0/libnautilus-fileroller.la -lib/nautilus/extensions-2.0/libnautilus-fileroller.so +%%NAUTILUS%%lib/nautilus/extensions-2.0/libnautilus-fileroller.la +%%NAUTILUS%%lib/nautilus/extensions-2.0/libnautilus-fileroller.so libexec/file-roller/isoinfo.sh share/applications/file-roller.desktop -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO %%DATADIR%%/icons/hicolor/16x16/actions/add-files-to-archive.png %%DATADIR%%/icons/hicolor/16x16/actions/add-folder-to-archive.png %%DATADIR%%/icons/hicolor/16x16/actions/extract-archive.png @@ -272,7 +268,6 @@ share/omf/file-roller/file-roller-vi.omf @dirrm %%DATADIR%%/icons/hicolor @dirrm %%DATADIR%%/icons @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry share/applications @dirrm libexec/file-roller @exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |