1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/mail/gml/Makefile
Ruslan Makhmatkhanov b874bb4d02 - 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]
2013-03-06 18:49:33 +00:00

39 lines
809 B
Makefile

# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
PORTNAME= gml
PORTVERSION= 0.4
CATEGORIES= mail
MASTER_SITES= http://marklyon.org/wp-content/uploads/2013/01/ \
LOCAL/glarkin
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
COMMENT= Mbox & Maildir to Gmail loader
USE_PYTHON_RUN= -2.7
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_DOS2UNIX= yes
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 ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>