mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
37 lines
815 B
Makefile
37 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>
|