1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- 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]
This commit is contained in:
Ruslan Makhmatkhanov 2013-03-06 18:49:33 +00:00
parent bd554455a6
commit b874bb4d02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313536
2 changed files with 7 additions and 9 deletions

View File

@ -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}

View File

@ -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/