diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-02-21 21:35:13 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-02-21 21:35:13 +0000 |
commit | be0d42fd32a0febb56b510223c2f20ca7b10a6c3 (patch) | |
tree | f3fd3161a7bd083c86926abcf793eab00e7b7b52 /converters/ytnef/Makefile | |
parent | 529ed7dc50f454b6ef52a3b31663c62034a739ac (diff) |
Notes
Diffstat (limited to 'converters/ytnef/Makefile')
-rw-r--r-- | converters/ytnef/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/converters/ytnef/Makefile b/converters/ytnef/Makefile new file mode 100644 index 000000000000..3664566fd7a3 --- /dev/null +++ b/converters/ytnef/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: ytnef +# Date created: 21 Feb 2005 +# Whom: Rodrigo Graeff <delphus@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= ytnef +PORTVERSION= 2.6 +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 + +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> |