aboutsummaryrefslogtreecommitdiff
path: root/mail/gml
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-03-06 18:49:33 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-03-06 18:49:33 +0000
commitb874bb4d02a40762c605f14f2b6dff16829faf5c (patch)
treed7978fafd459939572a5c7955f6c2612b231d61f /mail/gml
parentbd554455a6a032dfcd5b704cc70d0ceee3193fe1 (diff)
downloadports-b874bb4d02a40762c605f14f2b6dff16829faf5c.tar.gz
ports-b874bb4d02a40762c605f14f2b6dff16829faf5c.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]
Notes
Notes: svn path=/head/; revision=313536
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/