aboutsummaryrefslogtreecommitdiffstats
path: root/mail/getlive
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-07-25 01:21:24 +0800
committerdanfe <danfe@FreeBSD.org>2008-07-25 01:21:24 +0800
commit1c1bbaff977d39712bb86d5c93ccefa34d6d7aa6 (patch)
tree5b29c89467a184db2107b959a7fee831504a85dd /mail/getlive
parent863a7e58a4e82f52b146ac092fc5fe892a393ece (diff)
downloadfreebsd-ports-gnome-1c1bbaff977d39712bb86d5c93ccefa34d6d7aa6.tar.gz
freebsd-ports-gnome-1c1bbaff977d39712bb86d5c93ccefa34d6d7aa6.tar.zst
freebsd-ports-gnome-1c1bbaff977d39712bb86d5c93ccefa34d6d7aa6.zip
- Utilize DISTVERSION and stop hardcoding version twice
- Canonicalize Makefile header - Utilize PLIST_FILES and PORTDOCS, kill pkg-plist - Beautify port description and COMMENT - Lower-case local var Approved by: maintainer
Diffstat (limited to 'mail/getlive')
-rw-r--r--mail/getlive/Makefile19
-rw-r--r--mail/getlive/pkg-descr8
-rw-r--r--mail/getlive/pkg-plist6
3 files changed, 15 insertions, 18 deletions
diff --git a/mail/getlive/Makefile b/mail/getlive/Makefile
index 4a5c52f9b1f0..35eab8192138 100644
--- a/mail/getlive/Makefile
+++ b/mail/getlive/Makefile
@@ -1,19 +1,19 @@
-# New ports collection makefile for: getlive
-# Date created: 20 April 2008
-# Whom: ayunyan
+# New ports collection makefile for: GetLive
+# Date created: 20 April 2008
+# Whom: ayunyan <ayunyan@gmail.com>
#
# $FreeBSD$
#
PORTNAME= getlive
-PORTVERSION= 0.57
+DISTVERSION= 0_57
CATEGORIES= mail
MASTER_SITES= SF
-DISTNAME= GetLive_0_57
+DISTNAME= GetLive_${DISTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ayu@commun.jp
-COMMENT= Get mail from hotmail (live) mailboxes
+COMMENT= Get mail from Hotmail (Live) mailboxes
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
procmail:${PORTSDIR}/mail/procmail \
@@ -22,13 +22,16 @@ RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
NO_BUILD= yes
USE_PERL5_RUN= yes
+PLIST_FILES= bin/getlive etc/getlive.conf.sample
+PORTDOCS= ChangeLog License Manual
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/GetLive.pl ${PREFIX}/bin/getlive
${INSTALL_DATA} ${FILESDIR}/getlive.conf.sample ${PREFIX}/etc
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for FILE in ChangeLog License Manual
- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/mail/getlive/pkg-descr b/mail/getlive/pkg-descr
index fd47b2176761..f178b79eb013 100644
--- a/mail/getlive/pkg-descr
+++ b/mail/getlive/pkg-descr
@@ -1,5 +1,5 @@
-GetLive is a perl script that fetches mail from your Hotmail
-Live account. The mail is then presented to any filter (typically
-procmail) for further processing or dropping in a local mailbox.
+GetLive is a perl script that fetches mail from your Hotmail Live account.
+The mail is then presented to any filter (typically procmail) for further
+processing or dropping in a local mailbox.
-WWW: http://sourceforge.net/projects/getlive
+WWW: http://sourceforge.net/projects/getlive/
diff --git a/mail/getlive/pkg-plist b/mail/getlive/pkg-plist
deleted file mode 100644
index fb3b2fb268aa..000000000000
--- a/mail/getlive/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/getlive
-etc/getlive.conf.sample
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/License
-%%PORTDOCS%%%%DOCSDIR%%/Manual
-%%PORTDOCS%%@dirrm %%DOCSDIR%%