summaryrefslogtreecommitdiffstats
path: root/archivers/file-roller/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-06 05:23:46 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-06 05:23:46 +0800
commitd38676fb3e4bb84b5d354e27fdd28c517ac9af58 (patch)
tree938b0bafd211d262fb76af1826c54eef4d63fae7 /archivers/file-roller/Makefile
parentf43cac6a35ca44cd624e06b905876b0cf7378b20 (diff)
downloadmarcuscom-ports-d38676fb3e4bb84b5d354e27fdd28c517ac9af58.tar
marcuscom-ports-d38676fb3e4bb84b5d354e27fdd28c517ac9af58.tar.gz
marcuscom-ports-d38676fb3e4bb84b5d354e27fdd28c517ac9af58.tar.bz2
marcuscom-ports-d38676fb3e4bb84b5d354e27fdd28c517ac9af58.tar.lz
marcuscom-ports-d38676fb3e4bb84b5d354e27fdd28c517ac9af58.tar.xz
marcuscom-ports-d38676fb3e4bb84b5d354e27fdd28c517ac9af58.tar.zst
marcuscom-ports-d38676fb3e4bb84b5d354e27fdd28c517ac9af58.zip
Update 2.31.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14181 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'archivers/file-roller/Makefile')
-rw-r--r--archivers/file-roller/Makefile64
1 files changed, 64 insertions, 0 deletions
diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile
new file mode 100644
index 000000000..a4897190b
--- /dev/null
+++ b/archivers/file-roller/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: fileroller
+# Date created: 18 May 2002
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= file-roller
+PORTVERSION= 2.31.1
+PORTEPOCH= 1
+CATEGORIES= archivers gnome
+MASTER_SITES= GNOME
+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 \
+ ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
+
+USE_LDCONFIG= yes
+USE_BZIP2= yes
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_GMAKE= yes
+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}|g' \
+ ${WRKSRC}/src/fr-command-tar.c \
+ ${WRKSRC}/src/fr-command-zip.c
+
+post-install:
+ @-update-desktop-database
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>