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/file-roller/Makefile | |
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/file-roller/Makefile')
-rw-r--r-- | archivers/file-roller/Makefile | 26 |
1 files changed, 19 insertions, 7 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> |