svn commit: r313536 - head/mail/gml
Ruslan Mahmatkhanov
rm at FreeBSD.org
Wed Mar 6 18:49:34 UTC 2013
Author: rm
Date: Wed Mar 6 18:49:33 2013
New Revision: 313536
URL: http://svnweb.freebsd.org/changeset/ports/313536
Log:
- 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 at marino.st> [1]
Modified:
head/mail/gml/Makefile
head/mail/gml/pkg-descr
Modified: head/mail/gml/Makefile
==============================================================================
--- head/mail/gml/Makefile Wed Mar 6 18:47:55 2013 (r313535)
+++ head/mail/gml/Makefile Wed Mar 6 18:49:33 2013 (r313536)
@@ -1,14 +1,10 @@
-# New ports collection makefile for: gml
-# Date created: 23 March 2009
-# Whom: Alexander Logvinov <ports at logvinov.com>
-#
+# Created by: Alexander Logvinov <ports at 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 at 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}
Modified: head/mail/gml/pkg-descr
==============================================================================
--- head/mail/gml/pkg-descr Wed Mar 6 18:47:55 2013 (r313535)
+++ head/mail/gml/pkg-descr Wed Mar 6 18:49:33 2013 (r313536)
@@ -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/
More information about the svn-ports-head
mailing list