mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
34 lines
777 B
Makefile
34 lines
777 B
Makefile
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= exipick
|
|
PORTVERSION= 20100323.0
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://jetmore.org/john/code/
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
|
EXTRACT_SUFX=
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Display messages from Exim queue based on a variety of criteria
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
|
|
do-extract:
|
|
@${RM} -rf ${WRKDIR}
|
|
@${MKDIR} ${WRKSRC}
|
|
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
|
|
|
|
do-build:
|
|
@${SED} -e '1s|/usr/bin/perl|${PERL}|' \
|
|
-e 's;\/local\/exim\/spool;\/var\/spool\/exim;g' \
|
|
${WRKSRC}/${DISTNAME} > ${WRKSRC}/${PORTNAME}.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|