2013-09-20 21:59:12 +02:00
|
|
|
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
2005-05-01 23:55:54 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= exipick
|
2011-03-01 04:55:52 +01:00
|
|
|
PORTVERSION= 20100323.0
|
2005-05-01 23:55:54 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://jetmore.org/john/code/
|
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
|
|
|
EXTRACT_SUFX=
|
|
|
|
|
2013-11-29 08:37:52 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-05-01 23:55:54 +02:00
|
|
|
COMMENT= Display messages from Exim queue based on a variety of criteria
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2013-09-04 08:06:59 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= run
|
2005-05-01 23:55:54 +02:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${SED} -e '1s|/usr/bin/perl|${PERL}|' \
|
2011-03-01 04:55:52 +01:00
|
|
|
-e 's;\/local\/exim\/spool;\/var\/spool\/exim;g' \
|
2005-05-01 23:55:54 +02:00
|
|
|
${WRKSRC}/${DISTNAME} > ${WRKSRC}/${PORTNAME}.pl
|
|
|
|
|
|
|
|
do-install:
|
2014-02-26 10:11:37 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2005-05-01 23:55:54 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|