freebsd-ports/converters/ytnef/Makefile
Baptiste Daroussin 13d579bb52 Support stage
2014-01-09 14:49:45 +00:00

36 lines
815 B
Makefile

# Created by: Rodrigo Graeff <delphus@gmail.com>
# $FreeBSD$
PORTNAME= ytnef
PORTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= converters mail
MASTER_SITES= SF
MAINTAINER= delphus@gmail.com
COMMENT= Unpack data in MS Outlook TNEF format
OPTIONS_DEFINE= DOCS
LIB_DEPENDS= libytnef.so:${PORTSDIR}/devel/libytnef
RUN_DEPENDS= p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools
USES= perl5
USE_PERL5= run
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/ytnef bin/ytnefprocess.pl bin/ytnefprint
PORTDOCS= AUTHORS NEWS README
post-patch:
@${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \
${WRKSRC}/src/ytnef/ytnefprocess.pl
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>