2002-05-18 23:52:55 +02:00
|
|
|
# New ports collection makefile for: fileroller
|
|
|
|
# Date created: 18 May 2002
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fileroller
|
2003-04-04 09:43:05 +02:00
|
|
|
PORTVERSION= 2.2.3
|
2002-11-13 06:30:09 +01:00
|
|
|
PORTEPOCH= 1
|
2002-10-07 00:19:14 +02:00
|
|
|
CATEGORIES= archivers gnome
|
2003-02-07 19:42:25 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= sources/file-roller/2.2
|
2002-05-18 23:52:55 +02:00
|
|
|
DISTNAME= file-roller-${PORTVERSION}
|
2003-02-07 19:42:25 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
2002-05-18 23:52:55 +02:00
|
|
|
|
2002-10-07 00:19:14 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-09 02:09:51 +01:00
|
|
|
COMMENT= An archive manager for zip files, tar, etc
|
2002-05-18 23:52:55 +02:00
|
|
|
|
2003-02-07 19:42:25 +01:00
|
|
|
LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
|
2003-03-09 02:09:51 +01:00
|
|
|
RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \
|
2002-05-18 23:52:55 +02:00
|
|
|
lzop:${PORTSDIR}/archivers/lzop
|
2003-03-09 02:09:51 +01:00
|
|
|
.if !exists(/usr/bin/bzip2)
|
|
|
|
RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
2003-02-07 19:42:25 +01:00
|
|
|
|
2002-05-30 20:03:22 +02:00
|
|
|
USE_X_PREFIX= yes
|
2002-11-13 06:30:09 +01:00
|
|
|
USE_GMAKE= yes
|
2002-07-28 00:58:47 +02:00
|
|
|
USE_GNOMENG= yes
|
2002-10-06 19:36:00 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack
|
2003-02-07 19:42:25 +01:00
|
|
|
USE_LIBTOOL= yes
|
2002-10-06 19:36:00 +02:00
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2002-05-30 20:03:22 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-05-18 23:52:55 +02:00
|
|
|
|
2003-02-07 19:42:25 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_RAR) || exists(${LOCALBASE}/bin/rar)
|
|
|
|
RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar
|
|
|
|
.endif
|
|
|
|
|
2003-04-04 09:43:05 +02:00
|
|
|
.if defined(WITH_BZIP) || exists(${LOCALBASE}/bin/bzip)
|
|
|
|
RUN_DEPENDS+= bzip:${PORTSDIR}/archivers/bzip
|
|
|
|
.endif
|
|
|
|
|
2002-05-18 23:52:55 +02:00
|
|
|
post-install:
|
2002-05-30 20:03:22 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in AUTHORS NEWS README TODO
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2002-05-18 23:52:55 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2003-02-07 19:42:25 +01:00
|
|
|
.include <bsd.port.post.mk>
|