aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Gnome2-VFS/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-04-01 03:01:23 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-04-01 03:01:23 +0000
commitd6e7613c149984ae8013292b99ffa950526caa71 (patch)
tree0c5458e88692270601aa37bf4ec0f5b6ec1fc2d4 /x11-toolkits/p5-Gnome2-VFS/Makefile
parent3e85811621265852d7a28c0eeb5b0ab12663a895 (diff)
downloadports-d6e7613c149984ae8013292b99ffa950526caa71.tar.gz
ports-d6e7613c149984ae8013292b99ffa950526caa71.zip
Notes
Diffstat (limited to 'x11-toolkits/p5-Gnome2-VFS/Makefile')
-rw-r--r--x11-toolkits/p5-Gnome2-VFS/Makefile55
1 files changed, 26 insertions, 29 deletions
diff --git a/x11-toolkits/p5-Gnome2-VFS/Makefile b/x11-toolkits/p5-Gnome2-VFS/Makefile
index d51b192d134f..fe4e1889fa40 100644
--- a/x11-toolkits/p5-Gnome2-VFS/Makefile
+++ b/x11-toolkits/p5-Gnome2-VFS/Makefile
@@ -7,42 +7,39 @@
#
PORTNAME= Gnome2-VFS
-PORTVERSION= 0.10
-PORTREVISION= 1
-CATEGORIES= x11-toolkits lang perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
- ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ../by-authors/id/R/RM/RMCFARLA/Gtk2-Perl \
- gtk2-perl
+PORTVERSION= 1.001
+PORTREVISION= 0
+CATEGORIES= x11-toolkits gnome perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
+MASTER_SITE_SUBDIR= ../by-authors/id/R/RM/RMCFARLA/Gtk2-Perl/:cpan \
+ gtk2-perl/:sf
PKGNAMEPREFIX= p5-
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:cpan \
+ ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:sf
MAINTAINER= ports@FreeBSD.org
COMMENT= Allows you to use the GNOME Virtual File System library from Perl
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \
+BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/Depends.pm:${PORTSDIR}/devel/p5-ExtUtils-Depends \
+ ${SITE_PERL}/ExtUtils/PkgConfig.pm:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
+ ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \
+ ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2 \
${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
USE_GNOME= gnomevfs2
PERL_CONFIGURE= yes
+USE_GMAKE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again
+.endif
+
+post-install:
+ @cd ${WRKSRC}/blib/man3 && ${FIND} * -name "*.3" | ${SED} \
+ 's,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/,' >> ${TMPPLIST}
-MAN3= Gnome2::VFS.3 \
- Gnome2::VFS::Application.3 \
- Gnome2::VFS::ApplicationRegistry.3 \
- Gnome2::VFS::Async.3 \
- Gnome2::VFS::Async::Handle.3 \
- Gnome2::VFS::Directory.3 \
- Gnome2::VFS::Directory::Handle.3 \
- Gnome2::VFS::FileInfo.3 \
- Gnome2::VFS::Handle.3 \
- Gnome2::VFS::Mime.3 \
- Gnome2::VFS::Mime::Application.3 \
- Gnome2::VFS::Mime::Monitor.3 \
- Gnome2::VFS::Mime::Type.3 \
- Gnome2::VFS::Monitor.3 \
- Gnome2::VFS::Monitor::Handle.3 \
- Gnome2::VFS::URI.3 \
- Gnome2::VFS::Xfer.3 \
- Gnome2::VFS::index.3 \
- Gnome2::VFS::main.3
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>