diff options
Diffstat (limited to 'mail/queue-repair/Makefile')
-rw-r--r-- | mail/queue-repair/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mail/queue-repair/Makefile b/mail/queue-repair/Makefile new file mode 100644 index 0000000..3968684 --- /dev/null +++ b/mail/queue-repair/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: queue-repair +# Date created: 22 Aug 2002 +# Whom: Sergei Kolobov <sergei@kolobov.com> +# +# $FreeBSD$ +# + +PORTNAME= queue-repair +PORTVERSION= 0.8.6 +CATEGORIES= mail python +MASTER_SITES= http://www.qcc.ca/~charlesc/software/queue_repair/ + +MAINTAINER= sergei@kolobov.com + +USE_PYTHON= yes +USE_REINPLACE= yes + +DOCS= BLURB CHANGELOG COPYING TODO docs.txt + +do-build: + ${REINPLACE_CMD} -e 's,^#!/usr/bin/python,#!${PYTHON_CMD},' \ + ${WRKSRC}/queue_repair.py + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/queue_repair.py ${PREFIX}/bin/queue-repair +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |