summaryrefslogtreecommitdiff
path: root/mail/ytnef
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2017-08-17 10:03:42 +0000
committernros <nros@pkgsrc.org>2017-08-17 10:03:42 +0000
commit25301bd36f304147f10b9491e2578ce7a1b6f354 (patch)
tree485ae18d9813b6954112eb3da75c4f44f0c4ed87 /mail/ytnef
parent152abf56613628aab69366f462e822d4623c7e80 (diff)
downloadpkgsrc-25301bd36f304147f10b9491e2578ce7a1b6f354.tar.gz
Add ytnef version 1.9.2 to pkgsrc.
ytnef, programs that use libytnef to parse and handle Microsoft TNEF attachments. These are the programs that come with the same distfile as libytnef and are from the same author.
Diffstat (limited to 'mail/ytnef')
-rw-r--r--mail/ytnef/DESCR2
-rw-r--r--mail/ytnef/Makefile17
-rw-r--r--mail/ytnef/PLIST4
3 files changed, 23 insertions, 0 deletions
diff --git a/mail/ytnef/DESCR b/mail/ytnef/DESCR
new file mode 100644
index 00000000000..78bb14c4f44
--- /dev/null
+++ b/mail/ytnef/DESCR
@@ -0,0 +1,2 @@
+ytnef, programs that use libytnef to parse and handle Microsoft TNEF
+attachments.
diff --git a/mail/ytnef/Makefile b/mail/ytnef/Makefile
new file mode 100644
index 00000000000..e71ea60efeb
--- /dev/null
+++ b/mail/ytnef/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 10:03:42 nros Exp $
+
+.include "../../mail/libytnef/Makefile.common"
+
+USE_TOOLS+= perl:run
+BUILD_DIRS= ytnef ytnefprint
+
+REPLACE_PERL= ytnef/ytnefprocess
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-build
+SUBST_MESSAGE.prefix= Setting prefix to ytnef in ytnefprocess
+SUBST_FILES.prefix= ytnef/ytnefprocess
+SUBST_SED.prefix= -e '/^my\ $$reader/s,/usr,${PREFIX},'
+
+.include "../../mail/libytnef/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ytnef/PLIST b/mail/ytnef/PLIST
new file mode 100644
index 00000000000..68af98e1921
--- /dev/null
+++ b/mail/ytnef/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 10:03:42 nros Exp $
+bin/ytnef
+bin/ytnefprint
+bin/ytnefprocess