summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-11-05 12:30:46 +0000
committervanilla <vanilla@FreeBSD.org>2013-11-05 12:30:46 +0000
commit89296631339f899d4d576613519f1baed4185434 (patch)
tree8f08ce595110f6f0608ecc66b93e776e84a745f2
parent85676a41d5cb5592f58761777d407571ebf24c6b (diff)
downloadFreeBSD-ports-89296631339f899d4d576613519f1baed4185434.zip
FreeBSD-ports-89296631339f899d4d576613519f1baed4185434.tar.gz
Support STAGEDIR.
-rw-r--r--comms/p5-Device-Modem/Makefile14
-rw-r--r--comms/p5-Device-Modem/pkg-plist16
-rw-r--r--comms/p5-Device-SerialPort/Makefile4
-rw-r--r--comms/p5-Device-SerialPort/pkg-plist2
-rw-r--r--comms/p5-Fax-Hylafax-Client/Makefile5
-rw-r--r--comms/p5-Fax-Hylafax-Client/pkg-plist5
6 files changed, 20 insertions, 26 deletions
diff --git a/comms/p5-Device-Modem/Makefile b/comms/p5-Device-Modem/Makefile
index 7059603..928b43f 100644
--- a/comms/p5-Device-Modem/Makefile
+++ b/comms/p5-Device-Modem/Makefile
@@ -11,24 +11,16 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Perl class to interface generic modems (AT-compliant)
BUILD_DEPENDS= p5-Device-SerialPort>=0:${PORTSDIR}/comms/p5-Device-SerialPort
-RUN_DEPENDS= p5-Device-SerialPort>=0:${PORTSDIR}/comms/p5-Device-SerialPort
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-MAN3= Device::Modem.3 \
- Device::Modem::FAQ.3 \
- Device::Modem::Log::File.3 \
- Device::Modem::Log::Syslog.3 \
- Device::Modem::Protocol::Xmodem.3 \
- Device::Modem::UsRobotics.3
-
-NO_STAGE= yes
post-install:
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/comms/p5-Device-Modem/pkg-plist b/comms/p5-Device-Modem/pkg-plist
index c6f35a1..eb5e4b0 100644
--- a/comms/p5-Device-Modem/pkg-plist
+++ b/comms/p5-Device-Modem/pkg-plist
@@ -1,9 +1,15 @@
+%%PERL5_MAN3%%/Device::Modem.3.gz
+%%PERL5_MAN3%%/Device::Modem::FAQ.3.gz
+%%PERL5_MAN3%%/Device::Modem::Log::File.3.gz
+%%PERL5_MAN3%%/Device::Modem::Log::Syslog.3.gz
+%%PERL5_MAN3%%/Device::Modem::Protocol::Xmodem.3.gz
+%%PERL5_MAN3%%/Device::Modem::UsRobotics.3.gz
+%%SITE_PERL%%/Device/Modem.pm
%%SITE_PERL%%/Device/Modem/FAQ.pod
%%SITE_PERL%%/Device/Modem/Log/File.pm
%%SITE_PERL%%/Device/Modem/Log/Syslog.pm
%%SITE_PERL%%/Device/Modem/Protocol/Xmodem.pm
%%SITE_PERL%%/Device/Modem/UsRobotics.pm
-%%SITE_PERL%%/Device/Modem.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/Modem/.packlist
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/active.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/caller-id.pl
@@ -11,9 +17,9 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/shell.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xmodem.pl
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/Modem
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/Modem
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device
-@dirrm %%SITE_PERL%%/Device/Modem/Protocol
-@dirrm %%SITE_PERL%%/Device/Modem/Log
-@dirrm %%SITE_PERL%%/Device/Modem
+@dirrmtry %%SITE_PERL%%/Device/Modem/Protocol
+@dirrmtry %%SITE_PERL%%/Device/Modem/Log
+@dirrmtry %%SITE_PERL%%/Device/Modem
@dirrmtry %%SITE_PERL%%/Device
diff --git a/comms/p5-Device-SerialPort/Makefile b/comms/p5-Device-SerialPort/Makefile
index ca8fe67..08cfca4 100644
--- a/comms/p5-Device-SerialPort/Makefile
+++ b/comms/p5-Device-SerialPort/Makefile
@@ -14,8 +14,4 @@ COMMENT= Perl5 module for simple serial port control
USES= perl5
USE_PERL5= configure
-MAN1= modemtest.1
-MAN3= Device::SerialPort.3
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/comms/p5-Device-SerialPort/pkg-plist b/comms/p5-Device-SerialPort/pkg-plist
index b198072..6989bde 100644
--- a/comms/p5-Device-SerialPort/pkg-plist
+++ b/comms/p5-Device-SerialPort/pkg-plist
@@ -1,8 +1,10 @@
bin/modemtest
+%%PERL5_MAN3%%/Device::SerialPort.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Device/SerialPort.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort/SerialPort.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort/SerialPort.so
+man/man1/modemtest.1.gz
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Device
diff --git a/comms/p5-Fax-Hylafax-Client/Makefile b/comms/p5-Fax-Hylafax-Client/Makefile
index a9803bb..ab43f57 100644
--- a/comms/p5-Fax-Hylafax-Client/Makefile
+++ b/comms/p5-Fax-Hylafax-Client/Makefile
@@ -11,12 +11,9 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Simple Perl client for the HylaFAX fax server
BUILD_DEPENDS= p5-Net>=0:${PORTSDIR}/net/p5-Net
-RUN_DEPENDS= p5-Net>=0:${PORTSDIR}/net/p5-Net
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-MAN3= Fax::Hylafax::Client.3
-
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/comms/p5-Fax-Hylafax-Client/pkg-plist b/comms/p5-Fax-Hylafax-Client/pkg-plist
index 1caa6f6..98ebff9 100644
--- a/comms/p5-Fax-Hylafax-Client/pkg-plist
+++ b/comms/p5-Fax-Hylafax-Client/pkg-plist
@@ -1,7 +1,8 @@
+%%PERL5_MAN3%%/Fax::Hylafax::Client.3.gz
%%SITE_PERL%%/Fax/Hylafax/Client.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Fax/Hylafax/Client/.packlist
-@dirrmtry %%SITE_PERL%%/Fax/Hylafax
-@dirrmtry %%SITE_PERL%%/Fax
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Fax/Hylafax/Client
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Fax/Hylafax
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Fax
+@dirrmtry %%SITE_PERL%%/Fax/Hylafax
+@dirrmtry %%SITE_PERL%%/Fax
OpenPOWER on IntegriCloud