aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gml
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-03-07 02:49:33 +0800
committerrm <rm@FreeBSD.org>2013-03-07 02:49:33 +0800
commit0615baf1cdc27bd512c2e07f317491c1bca95fab (patch)
treed7978fafd459939572a5c7955f6c2612b231d61f /mail/gml
parentfee1f622884fc9c10a8c3dd2adcf9e95a4eabe97 (diff)
downloadfreebsd-ports-gnome-0615baf1cdc27bd512c2e07f317491c1bca95fab.tar.gz
freebsd-ports-gnome-0615baf1cdc27bd512c2e07f317491c1bca95fab.tar.zst
freebsd-ports-gnome-0615baf1cdc27bd512c2e07f317491c1bca95fab.zip
- update MASTER_SITES [1]
- trim Makefile headers - limit python version to 2.x only (print) - convert to optionsng (DOCS case) - update pkg-descr:WWW PR: 176693 Reported by: John Marino <draco@marino.st> [1]
Diffstat (limited to 'mail/gml')
-rw-r--r--mail/gml/Makefile14
-rw-r--r--mail/gml/pkg-descr2
2 files changed, 7 insertions, 9 deletions
diff --git a/mail/gml/Makefile b/mail/gml/Makefile
index 181a470f3f70..123faeb2ca9e 100644
--- a/mail/gml/Makefile
+++ b/mail/gml/Makefile
@@ -1,14 +1,10 @@
-# New ports collection makefile for: gml
-# Date created: 23 March 2009
-# Whom: Alexander Logvinov <ports@logvinov.com>
-#
+# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
-#
PORTNAME= gml
PORTVERSION= 0.4
CATEGORIES= mail
-MASTER_SITES= http://marklyon.org/gmail/old/ \
+MASTER_SITES= http://marklyon.org/wp-content/uploads/2013/01/ \
LOCAL/glarkin
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar
@@ -16,7 +12,7 @@ EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
COMMENT= Mbox & Maildir to Gmail loader
-USE_PYTHON_RUN= yes
+USE_PYTHON_RUN= -2.7
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_DOS2UNIX= yes
@@ -24,13 +20,15 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|.exe||g' \
-e 's|"c:\\mail\\Inbox.*"|/home/user/Inbox|g' ${WRKDIR}/*
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
diff --git a/mail/gml/pkg-descr b/mail/gml/pkg-descr
index 6ae42c9c8b0b..80e9b72d8897 100644
--- a/mail/gml/pkg-descr
+++ b/mail/gml/pkg-descr
@@ -1,3 +1,3 @@
Import your Mbox or Maildir files into GMail.
-WWW: http://marklyon.org/gmail/old/default.htm
+WWW: http://marklyon.org/2013/01/gmail-loader/