1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/converters/ytnef/Makefile
Renato Botelho 12b69a2ee4 Bump PORTREVISION dur to last commit
Noted by:	kris
Approved by:	portmgr (kris)
2006-03-06 11:21:59 +00:00

45 lines
1.0 KiB
Makefile

# New ports collection makefile for: ytnef
# Date created: 21 Feb 2005
# Whom: Rodrigo Graeff <delphus@gmail.com>
#
# $FreeBSD$
#
PORTNAME= ytnef
PORTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= converters mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= delphus@gmail.com
COMMENT= Unpack data in MS Outlook TNEF format
LIB_DEPENDS= ytnef.0:${PORTSDIR}/devel/libytnef
RUN_DEPENDS= ${SITE_PERL}/MIME/Tools.pm:${PORTSDIR}/mail/p5-MIME-Tools
USE_PERL5_RUN= yes
GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>