summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile3
-rw-r--r--mail/ytnef/DESCR2
-rw-r--r--mail/ytnef/Makefile17
-rw-r--r--mail/ytnef/PLIST4
4 files changed, 25 insertions, 1 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 415aba5f66e..0c2e9233f3f 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.494 2017/07/17 16:10:10 jperkin Exp $
+# $NetBSD: Makefile,v 1.495 2017/08/17 10:03:42 nros Exp $
#
COMMENT= Electronic mail utilities
@@ -388,5 +388,6 @@ SUBDIR+= xfce4-mailwatch-plugin
SUBDIR+= xfmail
SUBDIR+= xmailbox
SUBDIR+= xmailwatcher
+SUBDIR+= ytnef
.include "../mk/misc/category.mk"
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