aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-09-28 23:30:50 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-09-28 23:30:50 +0000
commitf7f555726c297c849eebc678048e3478177fdf0a (patch)
tree28e077db8bede3c00f29bc7ab45ad12413724812
parenta883718e8670b77a3af201d9c9f86e9a8607a378 (diff)
downloadports-f7f555726c297c849eebc678048e3478177fdf0a.tar.gz
ports-f7f555726c297c849eebc678048e3478177fdf0a.zip
Notes
-rw-r--r--mail/p5-IMAP-Admin/Makefile11
-rw-r--r--mail/p5-IMAP-Admin/distinfo6
-rw-r--r--mail/p5-IMAP-Admin/pkg-plist3
3 files changed, 9 insertions, 11 deletions
diff --git a/mail/p5-IMAP-Admin/Makefile b/mail/p5-IMAP-Admin/Makefile
index 1447fa131daf..ce9921681d42 100644
--- a/mail/p5-IMAP-Admin/Makefile
+++ b/mail/p5-IMAP-Admin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= IMAP-Admin
-PORTVERSION= 1.6.4
+PORTVERSION= 1.6.6
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -17,17 +17,18 @@ COMMENT= Perl module for basic IMAP server administration
PERL_CONFIGURE= YES
MAN3= IMAP::Admin.3
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME}
+.if !defined(NOPORTEXAMPLES)
+PORTEXAMPLES= create.pl delete.pl
post-install:
@${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/examples/create.pl \
- ${WRKSRC}/examples/delete.pl \
- ${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
@${ECHO_MSG} ""
@${ECHO_MSG} "*******************************************************************************"
@${ECHO_MSG} "See ${EXAMPLESDIR} for some examples..."
@${ECHO_MSG} "*******************************************************************************"
@${ECHO_MSG} ""
+.endif
.include <bsd.port.mk>
diff --git a/mail/p5-IMAP-Admin/distinfo b/mail/p5-IMAP-Admin/distinfo
index 28222dbdb721..6a86548b48a5 100644
--- a/mail/p5-IMAP-Admin/distinfo
+++ b/mail/p5-IMAP-Admin/distinfo
@@ -1,3 +1,3 @@
-MD5 (IMAP-Admin-1.6.4.tar.gz) = 87f32bb18f31a863b3e3813863f7723a
-SHA256 (IMAP-Admin-1.6.4.tar.gz) = 3346df6a9a660029417d9decde54a106d767e04ce5c135998b8ba19b190a84f9
-SIZE (IMAP-Admin-1.6.4.tar.gz) = 14197
+MD5 (IMAP-Admin-1.6.6.tar.gz) = 3ba06aa7cbb70ba35e08d8310f388325
+SHA256 (IMAP-Admin-1.6.6.tar.gz) = f944ca41a8b29b671859f863f575f41c696a9cc61d68c77d3df2fcab26aedc97
+SIZE (IMAP-Admin-1.6.6.tar.gz) = 14993
diff --git a/mail/p5-IMAP-Admin/pkg-plist b/mail/p5-IMAP-Admin/pkg-plist
index 37c7fa72c6ed..c423ea710b47 100644
--- a/mail/p5-IMAP-Admin/pkg-plist
+++ b/mail/p5-IMAP-Admin/pkg-plist
@@ -1,8 +1,5 @@
%%SITE_PERL%%/IMAP/Admin.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IMAP/Admin/.packlist
-%%EXAMPLESDIR%%/create.pl
-%%EXAMPLESDIR%%/delete.pl
-@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IMAP/Admin
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IMAP
@dirrm %%SITE_PERL%%/IMAP