summaryrefslogtreecommitdiff
path: root/mail/postilion/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postilion/files')
-rw-r--r--mail/postilion/files/Makefile.bsd54
-rw-r--r--mail/postilion/files/config.h46
-rw-r--r--mail/postilion/files/patch-af15
3 files changed, 0 insertions, 115 deletions
diff --git a/mail/postilion/files/Makefile.bsd b/mail/postilion/files/Makefile.bsd
deleted file mode 100644
index bf0eeff3bb73..000000000000
--- a/mail/postilion/files/Makefile.bsd
+++ /dev/null
@@ -1,54 +0,0 @@
-PROG= postilion.exec
-NOMAN= why would you even ask?
-
-LOCALBASE?= /usr/local
-TCL_VER?= 8.3
-DIR?= lib/postlionlib
-
-LDADD= -lm -L${LOCALBASE}/lib -lc-client4 \
- -ltk${TCL_VER:S/.//} -ltcl${TCL_VER:S/.//} -lX11
-.if exists(/usr/lib/libpam.a)
-LDADD+= -lpam
-.endif
-
-CFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER}
-CFLAGS+= -I${LOCALBASE}/include/tk${TCL_VER}
-CFLAGS+= -DNDEBUG -I.
-CFLAGS+= -I${LOCALBASE}/include/c-client -I${LOCALBASE}/include
-CFLAGS+= -I${LOCALBASE}/include
-
-BINDIR = ${LOCALBASE}/${DIR}
-
-${BINDIR} ${BINDIR}/images:
- ${MKDIR} $@
-
-all: ${PROG} postilion.sh ${.CURDIR}/postilion/tclIndex
-
-${.CURDIR}/postilion/tclIndex:
- cd ${.CURDIR}/postilion/Text/ && tclsh${TCL_VER} dotext.tcl
- cd ${.CURDIR}/postilion && \
- (${ECHO} "auto_mkindex . postilion *.tcl" | tclsh${TCL_VER})
-
-postilion.sh: ${.CURDIR}/script/postilion
- ${SED} -e "s%^LIBDIR.*%LIBDIR=${BINDIR}%" \
- -e "s%^EXEC.*%EXEC=${PROG}%" \
- -e "s%^COMPRESS.*%COMPRESS=/usr/bin/gzip%" \
- -e "s%^CSUFFIX.*%CSUFFIX=gz%" \
- -e "s%^CONFIG_DIR.*%CONFIG_DIR=${LOCALBASE}/lib/postilion%" \
- -e "s%^PGP.*%PGP=${LOCALBASE}/bin/pgp%" \
- < ${.CURDIR}/script/postilion > $@
-
-beforeinstall: ${BINDIR} ${BINDIR}/images
- ${INSTALL_DATA} ${.CURDIR}/postilion/*.tcl \
- ${.CURDIR}/postilion/postilion \
- ${.CURDIR}/postilion/tclIndex ${BINDIR}
- ${INSTALL_DATA} ${.CURDIR}/postilion/images/*.gif ${BINDIR}/images
- ${INSTALL_SCRIPT} postilion.sh ${LOCALBASE}/bin/postilion
-
-.PATH: ${.CURDIR}/lib
-SRCS= ratAppInit.c ratFolder.c ratStdFolder.c ratMessage.c ratCode.c \
- ratAddress.c ratDbase.c ratDbFolder.c ratStdMessage.c ratDbMessage.c \
- ratFrMessage.c ratSMTP.c ratDSN.c ratHold.c ratSender.c ratExp.c \
- ratMailcap.c ratCompat.c ratPGP.c ratPGPprog.c
-
-.include <bsd.prog.mk>
diff --git a/mail/postilion/files/config.h b/mail/postilion/files/config.h
deleted file mode 100644
index deb8be0c3521..000000000000
--- a/mail/postilion/files/config.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
-#define HAVE_SYS_WAIT_H 1
-
-/* Define if utime(file, NULL) sets file's timestamp to the present. */
-#define HAVE_UTIME_NULL 1
-
-/* Define if your <sys/time.h> declares struct tm. */
-#define TM_IN_SYS_TIME 1
-
-/* Define if you have the gethostname function. */
-#define HAVE_GETHOSTNAME 1
-
-/* Define if you have the mkdir function. */
-#define HAVE_MKDIR 1
-
-/* Define if you have the mktime function. */
-#define HAVE_MKTIME 1
-
-/* Define if you have the strstr function. */
-#define HAVE_STRSTR 1
-
-/* Define if you have the <dirent.h> header file. */
-#define HAVE_DIRENT_H 1
-
-/* Define if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 1
-
-/* Define if you have the <sys/ndir.h> header file. */
-#define HAVE_SYS_NDIR_H 1
-
-/* Define if you have the <tkstep.h> header file. */
-#undef HAVE_TKSTEP_H 1
-
-/* Define if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Timezone defines */
-#undef HAVE_TM_TZADJ
-#define HAVE_TM_GMTOFF 1
-#define HAVE_TIMEZONE_VAR 1
-
-/* Define if you have the crypt library (-lcrypt). */
-#define HAVE_LIBCRYPT 1
-
-/* Define if you have the s library (-ls). */
-#undef HAVE_LIBS
diff --git a/mail/postilion/files/patch-af b/mail/postilion/files/patch-af
deleted file mode 100644
index 30456c07fb66..000000000000
--- a/mail/postilion/files/patch-af
+++ /dev/null
@@ -1,15 +0,0 @@
---- postilion/options.tcl Wed Feb 23 17:27:28 2000
-+++ postilion/options.tcl Mon Feb 12 19:24:36 2001
-@@ -217,5 +217,5 @@
-- if [info exists $env(MAIL)] {
-- set option(default_folder) "INBOX file {} /var/spool/mail/$env(USER)"
-- } else {
-+ if [info exists env(MAIL)] {
- set option(default_folder) "INBOX file {} $env(MAIL)"
-+ } else {
-+ set option(default_folder) "INBOX file {} /var/mail/$env(USER)"
- }
-@@ -265,2 +265,2 @@
- # Default sending program
-- set option(sendprog) /usr/lib/sendmail
-+ set option(sendprog) /usr/sbin/sendmail