head	1.14;
access;
symbols
	pkgsrc-2026Q1:1.14.0.148
	pkgsrc-2026Q1-base:1.14
	pkgsrc-2025Q4:1.14.0.146
	pkgsrc-2025Q4-base:1.14
	pkgsrc-2025Q3:1.14.0.144
	pkgsrc-2025Q3-base:1.14
	pkgsrc-2025Q2:1.14.0.142
	pkgsrc-2025Q2-base:1.14
	pkgsrc-2025Q1:1.14.0.140
	pkgsrc-2025Q1-base:1.14
	pkgsrc-2024Q4:1.14.0.138
	pkgsrc-2024Q4-base:1.14
	pkgsrc-2024Q3:1.14.0.136
	pkgsrc-2024Q3-base:1.14
	pkgsrc-2024Q2:1.14.0.134
	pkgsrc-2024Q2-base:1.14
	pkgsrc-2024Q1:1.14.0.132
	pkgsrc-2024Q1-base:1.14
	pkgsrc-2023Q4:1.14.0.130
	pkgsrc-2023Q4-base:1.14
	pkgsrc-2023Q3:1.14.0.128
	pkgsrc-2023Q3-base:1.14
	pkgsrc-2023Q2:1.14.0.126
	pkgsrc-2023Q2-base:1.14
	pkgsrc-2023Q1:1.14.0.124
	pkgsrc-2023Q1-base:1.14
	pkgsrc-2022Q4:1.14.0.122
	pkgsrc-2022Q4-base:1.14
	pkgsrc-2022Q3:1.14.0.120
	pkgsrc-2022Q3-base:1.14
	pkgsrc-2022Q2:1.14.0.118
	pkgsrc-2022Q2-base:1.14
	pkgsrc-2022Q1:1.14.0.116
	pkgsrc-2022Q1-base:1.14
	pkgsrc-2021Q4:1.14.0.114
	pkgsrc-2021Q4-base:1.14
	pkgsrc-2021Q3:1.14.0.112
	pkgsrc-2021Q3-base:1.14
	pkgsrc-2021Q2:1.14.0.110
	pkgsrc-2021Q2-base:1.14
	pkgsrc-2021Q1:1.14.0.108
	pkgsrc-2021Q1-base:1.14
	pkgsrc-2020Q4:1.14.0.106
	pkgsrc-2020Q4-base:1.14
	pkgsrc-2020Q3:1.14.0.104
	pkgsrc-2020Q3-base:1.14
	pkgsrc-2020Q2:1.14.0.100
	pkgsrc-2020Q2-base:1.14
	pkgsrc-2020Q1:1.14.0.80
	pkgsrc-2020Q1-base:1.14
	pkgsrc-2019Q4:1.14.0.102
	pkgsrc-2019Q4-base:1.14
	pkgsrc-2019Q3:1.14.0.98
	pkgsrc-2019Q3-base:1.14
	pkgsrc-2019Q2:1.14.0.96
	pkgsrc-2019Q2-base:1.14
	pkgsrc-2019Q1:1.14.0.94
	pkgsrc-2019Q1-base:1.14
	pkgsrc-2018Q4:1.14.0.92
	pkgsrc-2018Q4-base:1.14
	pkgsrc-2018Q3:1.14.0.90
	pkgsrc-2018Q3-base:1.14
	pkgsrc-2018Q2:1.14.0.88
	pkgsrc-2018Q2-base:1.14
	pkgsrc-2018Q1:1.14.0.86
	pkgsrc-2018Q1-base:1.14
	pkgsrc-2017Q4:1.14.0.84
	pkgsrc-2017Q4-base:1.14
	pkgsrc-2017Q3:1.14.0.82
	pkgsrc-2017Q3-base:1.14
	pkgsrc-2017Q2:1.14.0.78
	pkgsrc-2017Q2-base:1.14
	pkgsrc-2017Q1:1.14.0.76
	pkgsrc-2017Q1-base:1.14
	pkgsrc-2016Q4:1.14.0.74
	pkgsrc-2016Q4-base:1.14
	pkgsrc-2016Q3:1.14.0.72
	pkgsrc-2016Q3-base:1.14
	pkgsrc-2016Q2:1.14.0.70
	pkgsrc-2016Q2-base:1.14
	pkgsrc-2016Q1:1.14.0.68
	pkgsrc-2016Q1-base:1.14
	pkgsrc-2015Q4:1.14.0.66
	pkgsrc-2015Q4-base:1.14
	pkgsrc-2015Q3:1.14.0.64
	pkgsrc-2015Q3-base:1.14
	pkgsrc-2015Q2:1.14.0.62
	pkgsrc-2015Q2-base:1.14
	pkgsrc-2015Q1:1.14.0.60
	pkgsrc-2015Q1-base:1.14
	pkgsrc-2014Q4:1.14.0.58
	pkgsrc-2014Q4-base:1.14
	pkgsrc-2014Q3:1.14.0.56
	pkgsrc-2014Q3-base:1.14
	pkgsrc-2014Q2:1.14.0.54
	pkgsrc-2014Q2-base:1.14
	pkgsrc-2014Q1:1.14.0.52
	pkgsrc-2014Q1-base:1.14
	pkgsrc-2013Q4:1.14.0.50
	pkgsrc-2013Q4-base:1.14
	pkgsrc-2013Q3:1.14.0.48
	pkgsrc-2013Q3-base:1.14
	pkgsrc-2013Q2:1.14.0.46
	pkgsrc-2013Q2-base:1.14
	pkgsrc-2013Q1:1.14.0.44
	pkgsrc-2013Q1-base:1.14
	pkgsrc-2012Q4:1.14.0.42
	pkgsrc-2012Q4-base:1.14
	pkgsrc-2012Q3:1.14.0.40
	pkgsrc-2012Q3-base:1.14
	pkgsrc-2012Q2:1.14.0.38
	pkgsrc-2012Q2-base:1.14
	pkgsrc-2012Q1:1.14.0.36
	pkgsrc-2012Q1-base:1.14
	pkgsrc-2011Q4:1.14.0.34
	pkgsrc-2011Q4-base:1.14
	pkgsrc-2011Q3:1.14.0.32
	pkgsrc-2011Q3-base:1.14
	pkgsrc-2011Q2:1.14.0.30
	pkgsrc-2011Q2-base:1.14
	pkgsrc-2011Q1:1.14.0.28
	pkgsrc-2011Q1-base:1.14
	pkgsrc-2010Q4:1.14.0.26
	pkgsrc-2010Q4-base:1.14
	pkgsrc-2010Q3:1.14.0.24
	pkgsrc-2010Q3-base:1.14
	pkgsrc-2010Q2:1.14.0.22
	pkgsrc-2010Q2-base:1.14
	pkgsrc-2010Q1:1.14.0.20
	pkgsrc-2010Q1-base:1.14
	pkgsrc-2009Q4:1.14.0.18
	pkgsrc-2009Q4-base:1.14
	pkgsrc-2009Q3:1.14.0.16
	pkgsrc-2009Q3-base:1.14
	pkgsrc-2009Q2:1.14.0.14
	pkgsrc-2009Q2-base:1.14
	pkgsrc-2009Q1:1.14.0.12
	pkgsrc-2009Q1-base:1.14
	pkgsrc-2008Q4:1.14.0.10
	pkgsrc-2008Q4-base:1.14
	pkgsrc-2008Q3:1.14.0.8
	pkgsrc-2008Q3-base:1.14
	cube-native-xorg:1.14.0.6
	cube-native-xorg-base:1.14
	pkgsrc-2008Q2:1.14.0.4
	pkgsrc-2008Q2-base:1.14
	cwrapper:1.14.0.2
	pkgsrc-2008Q1:1.13.0.14
	pkgsrc-2008Q1-base:1.13
	pkgsrc-2007Q4:1.13.0.12
	pkgsrc-2007Q4-base:1.13
	pkgsrc-2007Q3:1.13.0.10
	pkgsrc-2007Q3-base:1.13
	pkgsrc-2007Q2:1.13.0.8
	pkgsrc-2007Q2-base:1.13
	pkgsrc-2007Q1:1.13.0.6
	pkgsrc-2007Q1-base:1.13
	pkgsrc-2006Q4:1.13.0.4
	pkgsrc-2006Q4-base:1.13
	pkgsrc-2006Q3:1.13.0.2
	pkgsrc-2006Q3-base:1.13
	pkgsrc-2006Q2:1.10.0.8
	pkgsrc-2006Q2-base:1.10
	pkgsrc-2006Q1:1.10.0.6
	pkgsrc-2006Q1-base:1.10
	pkgsrc-2005Q4:1.10.0.4
	pkgsrc-2005Q4-base:1.10
	pkgsrc-2005Q3:1.10.0.2
	pkgsrc-2005Q3-base:1.10
	pkgsrc-2005Q2:1.9.0.10
	pkgsrc-2005Q2-base:1.9
	pkgsrc-2005Q1:1.9.0.8
	pkgsrc-2005Q1-base:1.9
	pkgsrc-2004Q4:1.9.0.6
	pkgsrc-2004Q4-base:1.9
	pkgsrc-2004Q3:1.9.0.4
	pkgsrc-2004Q3-base:1.9
	pkgsrc-2004Q2:1.9.0.2
	pkgsrc-2004Q2-base:1.9
	pkgsrc-2004Q1:1.6.0.4
	pkgsrc-2004Q1-base:1.6
	pkgsrc-2003Q4:1.6.0.2
	pkgsrc-2003Q4-base:1.6
	netbsd-1-6-1:1.3.0.6
	netbsd-1-6-1-base:1.3
	netbsd-1-6:1.3.0.8
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.3.0.4
	pkgviews-base:1.3
	buildlink2:1.3.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.3
	netbsd-1-5-PATCH001:1.3
	netbsd-1-5-RELEASE:1.3
	netbsd-1-4-PATCH003:1.3
	netbsd-1-4-PATCH002:1.3
	comdex-fall-1999:1.3
	netbsd-1-4-PATCH001:1.2
	netbsd-1-4-RELEASE:1.2
	netbsd-1-3-PATCH003:1.2
	netbsd-1-3-PATCH002:1.1.1.1
	FreeBSD-current-1997-11-19:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.14
date	2008.05.10.11.52.14;	author obache;	state Exp;
branches;
next	1.13;

1.13
date	2006.07.21.08.24.29;	author tron;	state Exp;
branches;
next	1.12;

1.12
date	2006.07.21.03.14.41;	author reed;	state Exp;
branches;
next	1.11;

1.11
date	2006.07.21.03.02.55;	author reed;	state Exp;
branches;
next	1.10;

1.10
date	2005.09.02.19.29.56;	author reed;	state Exp;
branches;
next	1.9;

1.9
date	2004.06.20.02.52.28;	author minskim;	state Exp;
branches;
next	1.8;

1.8
date	2004.06.17.20.56.56;	author minskim;	state Exp;
branches;
next	1.7;

1.7
date	2004.06.06.19.33.11;	author jschauma;	state Exp;
branches;
next	1.6;

1.6
date	2003.11.04.19.03.53;	author dmcmahill;	state Exp;
branches;
next	1.5;

1.5
date	2003.10.03.18.20.53;	author xtraeme;	state Exp;
branches;
next	1.4;

1.4
date	2003.03.23.13.39.26;	author jmmv;	state Exp;
branches;
next	1.3;

1.3
date	99.09.03.08.19.14;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	98.08.07.11.09.39;	author agc;	state Exp;
branches;
next	1.1;

1.1
date	97.11.19.13.03.40;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.11.19.13.03.40;	author agc;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Add DESTDIR support and clean up, based on PR 38520.
@
text
@$NetBSD: patch-aa,v 1.13 2006/07/21 08:24:29 tron Exp $

--- Makefile.orig	1994-01-26 11:32:33.000000000 -0600
+++ Makefile	2006-07-20 22:10:32.000000000 -0500
@@@@ -20,13 +20,13 @@@@
 # RM = rm -f
 
 # How to run Make 
-MAKE = make
+#MAKE = make
 
 # How to copy files
 CP = cp
 
 # How to compile C programs
-CC = cc
+#CC = cc
 
 # You may also want to change the CFLAGS variable, which will be passed on 
 # to all subdirectories.    If you do that, the changes will only work right if you
@@@@ -38,7 +38,7 @@@@
 
 STATICFLAG=FOOBAR${HOST_ARCH}
 
-CFLAGS = -g -I.  ${$(STATICFLAG)} 
+CFLAGS += -I.  ${$(STATICFLAG)}
 # The following is better if you want to make sure you run with SYSV defined
 # CFLAGS = -g -I.  ${$(STATICFLAG)}  -DSYSV
 # Also, for SGI Irix, compile in K&R mode
@@@@ -49,9 +49,12 @@@@
 # LDLIBS variable.
 #
 # For Sun and BSD systems, the following should work...
-LDLIBS =
+# LDLIBS =
 # On BSD 4.4 systems, you will need the following
-# LDLIBS = -lcompat
+OPSYS!= uname -s
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+LDLIBS = -s -lcompat
+.endif
 # On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
 # LDLIBS = -lsun -lc_s
 # ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
@@@@ -72,18 +75,18 @@@@
 #	install -s -c $(LOCALBINDIR) $$file
 #
 #INSTALL = cp
-INSTALL = install -c -s
+#INSTALL = install -c -s
 
 # Root of installation tree
-INSTROOT = /usr/local
+INSTROOT = ${DESTDIR}${PREFIX}
 #
 # This is where binaries should be copied
 LOCALBINDIR = ${INSTROOT}/bin
 
 # This is where man pages should be copied, and their extensions
-MAN1DIR = ${INSTROOT}/man/man1
+MAN1DIR = ${INSTROOT}/${PKGMANDIR}/man1
 MAN1EXT = 1
-MAN4DIR = ${INSTROOT}/man/man4
+MAN4DIR = ${INSTROOT}/${PKGMANDIR}/man4
 MAN4EXT = 4
 
 # Sets the font suffix your version of X uses - snf for X11R4, pcf for X11R5
@@@@ -91,23 +94,27 @@@@
 FONTSUFFIX=pcf
 
 # This is where the mailcap file should be put
-MAILCAPDIR = ${INSTROOT}/etc
+MAILCAPDIR = ${INSTROOT}/share/examples/metamail
 
 # This helps with the "for" constructs below on some platforms:
 SHELL=/bin/sh
 
-install: basics
+BINARIES=	mailto metamail mmencode richtext richtoatk	\
+		splitmail
+SCRIPTS=	audiocompose audiosend extcompose getfilename mailserver \
+		mailto-hebrew metasend patch-metamail rcvAppleSingle 	\
+		showaudio showexternal shownonascii showpartial 	\
+		showpicture sndAppleSingle sun-audio-file sun-message.csh \
+		sun-to-mime sun2mime
 
-basics::
+install: install-all
+
+all basics::
 	(cd metamail ; $(MAKE)  CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"  LDLIBS="${LDLIBS}")
 	-${RM} bin/metamail
 	(cd bin; ${LN} ../metamail/metamail metamail)
 	-${RM} bin/mmencode
 	(cd bin; ${LN} ../metamail/mmencode mmencode)
-	-${RM} bin/mimencode
-	(cd bin; ${LN} ../metamail/mmencode mimencode)
-	-${RM} man/mimencode.1
-	(cd man; ${LN} ../man/mmencode.1 mimencode.1)
 	-${RM} bin/mailto
 	(cd bin; ${LN} ../metamail/mailto mailto)
 	-${RM} bin/splitmail
@@@@ -117,7 +124,7 @@@@
 	(cd bin; ${LN} ../richmail/richtext richtext)
 	-${RM} bin/richtoatk
 	(cd bin; ${LN} ../richmail/richtoatk richtoatk)
-	(cd fonts ; $(MAKE)  CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"   LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}")
+	(cd fonts ; $(MAKE) PREFIX=${PREFIX} CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"   LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}")
 	-${RM} bin/shownonascii
 	(cd bin; ${LN} ../fonts/shownonascii shownonascii)
 	-${RM} bin/mailto-hebrew
@@@@ -125,30 +132,38 @@@@
 
 install-all: basics 
 	@@(cd bin; 				\
-	for file in *; 				\
+	for file in $(BINARIES); 		\
+	do 					\
+	    target=$(LOCALBINDIR)/$$file; 	\
+	    echo "installing binary $$target";	\
+	    ${BSD_INSTALL_PROGRAM} $$file $$target; 	\
+	done;					\
+	for file in $(SCRIPTS); 		\
 	do 					\
 	    target=$(LOCALBINDIR)/$$file; 	\
 	    echo "installing binary $$target";	\
-	    ${INSTALL} $$file $$target; 	\
+	    ${BSD_INSTALL_SCRIPT} $$file $$target; 	\
 	done)
+	${RM} -f ${LOCALBINDIR}/mimencode ; ${LN} -s mmencode ${LOCALBINDIR}/mimencode
 	@@(cd man;				\
 	for file in *.1;			\
 	do 					\
 	    target=$(MAN1DIR)/`basename $$file .1`.$(MAN1EXT); \
 	    echo "installing man page $$target";\
-	    ${CP} $$file $$target; 		\
+	    ${BSD_INSTALL_MAN} $$file $$target; 		\
 	done)
+	${RM} -f ${MAN1DIR}/mimencode.1 ; ${LN} -s mmencode.1 ${MAN1DIR}/mimencode.1
 	@@(cd man;				\
 	for file in *.4;			\
 	do 					\
 	    target=$(MAN4DIR)/`basename $$file .4`.$(MAN4EXT); \
 	    echo "installing man page $$target";\
-	    ${CP} $$file $$target; 		\
+	    ${BSD_INSTALL_MAN} $$file $$target; 		\
 	done)
-	@@echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old
+	@@echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old"
 	-mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
 	@@echo "installing file $(MAILCAPDIR)/mailcap"
-	${CP} mailcap $(MAILCAPDIR)
+	${BSD_INSTALL_DATA} mailcap $(MAILCAPDIR)
 
 uninstall-all:
 	@@(cd bin; 				\
@


1.13
log
@Add missing RCS Id and update checksum.
@
text
@d1 1
a1 1
$NetBSD$
d54 1
a54 1
+INSTROOT = ${PREFIX}
@


1.12
log
@Add missing end quote at end of a echo line.
On Solaris this causes an error:

 sh: syntax error at line 22: `(' unexpected
 *** [install-all] Error code 2

This should fix PR #32357.
@
text
@d1 2
@


1.11
log
@Do not install the Hebrew fonts. If needed they can be installed
with another package. This makes it so this package can be installed
without X. This is for PR #26848.

Note: that some parts of metamail still reference "xterm".

Also changed path used in two scripts that reference the
now not-installed fonts. (Maybe that will need to be fixed too.)

Honor PKGMANDIR.

Update PKGREVISION.
@
text
@d2 1
a2 1
+++ Makefile	2006-07-20 21:48:56.000000000 -0500
d146 2
a147 1
 	@@echo "Renaming old mailcap file to $(MAILCAPDIR)/mailcap.old
@


1.10
log
@Allow this to build on DragonFly also. No change to package.

Found this on DragonFly users List. Thank you Steve O'Hara-Smith.
@
text
@a0 2
$NetBSD: patch-aa,v 1.9 2004/06/20 02:52:28 minskim Exp $

d2 2
a3 2
+++ Makefile
@@@@ -20,13 +20,13 @@@@ RM = rm
d19 1
a19 1
@@@@ -38,7 +38,7 @@@@ FOOBAR-sun4=-Bstatic
d28 1
a28 1
@@@@ -49,9 +49,12 @@@@ CFLAGS = -g -I.  ${$(STATICFLAG)} 
d43 1
a43 1
@@@@ -72,10 +75,10 @@@@ CONFIGDIR = .
d56 11
a66 1
@@@@ -91,23 +94,27 @@@@ MAN4EXT = 4
d101 1
a101 1
@@@@ -117,7 +124,7 @@@@ basics::
d110 1
a110 1
@@@@ -125,30 +132,39 @@@@ basics::
d128 1
a128 1
+	${LN} -s mmencode ${LOCALBINDIR}/mimencode
d137 1
a137 1
+	${LN} -s mmencode.1 ${MAN1DIR}/mimencode.1
a150 1
+	(cd fonts ; $(MAKE) PREFIX=${PREFIX} CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"   LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}" install)
@


1.9
log
@Do not try to install a nonexistent file; it stops installation on
some systems.  Noted by jklos@@.
@
text
@d1 1
a1 1
$NetBSD$
d39 1
a39 1
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
@


1.8
log
@Fix PR pkg/25779.
  - Correct permission of font files by using BSD_INSTALL_*.
  - Use symlinks instead of copying the same file with different names.

Bump PKGREVISION.
@
text
@d69 1
a69 1
+BINARIES=	mailto metamail mimencode mmencode richtext richtoatk	\
@


1.7
log
@Make this package build and install under IRIX:
- define SYSV to make it compile properly
- use BSD_INSTALL_* to install scripts and binaries with the proper
  permissions etc.

This should close PR pkg/25801.
@
text
@d1 1
a1 1
$NetBSD: $
d3 3
a5 3
--- Makefile.orig	1994-01-26 12:32:33.000000000 -0500
+++ Makefile	2004-06-06 15:13:31.000000000 -0400
@@@@ -20,13 +20,13 @@@@
d21 1
a21 1
@@@@ -38,7 +38,7 @@@@
d30 1
a30 1
@@@@ -49,9 +49,12 @@@@
d45 1
a45 1
@@@@ -72,10 +75,10 @@@@
d58 1
a58 1
@@@@ -91,14 +94,22 @@@@
d84 10
a93 1
@@@@ -117,7 +128,7 @@@@
d102 1
a102 1
@@@@ -125,30 +136,37 @@@@
d120 1
d129 1
@


1.6
log
@Use ${MAKE} and ${INSTALL} instead of make and install.
Also don't check for /usr/X11R6 before running mkfontdir.  This
package is already marked as USE_X11.  Fixes install on
Solaris and other systems which use bmake instead of make.
@
text
@d1 1
a1 1
$NetBSD$
d4 2
a5 2
+++ Makefile
@@@@ -20,13 +20,13 @@@@ RM = rm
d21 1
a21 1
@@@@ -38,7 +38,7 @@@@ FOOBAR-sun4=-Bstatic
d30 1
a30 1
@@@@ -49,9 +49,12 @@@@ CFLAGS = -g -I.  ${$(STATICFLAG)} 
d45 1
a45 1
@@@@ -72,10 +75,10 @@@@ CONFIGDIR = .
d58 1
a58 1
@@@@ -91,14 +94,14 @@@@ MAN4EXT = 4
d69 7
a75 1
+install: install-all
d78 2
d84 1
a84 1
@@@@ -117,7 +120,7 @@@@ basics::
d93 35
a127 1
@@@@ -149,6 +152,7 @@@@ install-all: basics 
d130 2
a131 1
 	${CP} mailcap $(MAILCAPDIR)
@


1.5
log
@FreeBSD also has stty() and gtty() in libcompat, so link to libcompat here.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.4 2003/03/23 13:39:26 jmmv Exp $
d3 1
a3 1
--- Makefile.orig	1994-01-26 18:32:33.000000000 +0100
d5 8
a12 1
@@@@ -26,7 +26,7 @@@@ MAKE = make
d50 1
a50 1
+INSTALL = install -c
@


1.4
log
@Honor PKG_SYSCONFDIR.  Bump PKGREVISION to 1.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.3 1999/09/03 08:19:14 agc Exp $
d32 1
a32 1
+.if ${OPSYS} == "NetBSD"
@


1.3
log
@Make this package compile on Solaris.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.2 1998/08/07 11:09:39 agc Exp $
d3 3
a5 3
--- Makefile.orig	Wed Jan 26 17:32:33 1994
+++ Makefile	Fri Sep  3 09:14:34 1999
@@@@ -26,7 +26,7 @@@@
d14 1
a14 1
@@@@ -38,7 +38,7 @@@@
d23 1
a23 1
@@@@ -49,9 +49,12 @@@@
d38 1
a38 1
@@@@ -72,10 +75,10 @@@@
d51 7
a57 1
@@@@ -96,9 +99,9 @@@@
d69 1
a69 1
@@@@ -117,7 +120,7 @@@@
d78 1
a78 1
@@@@ -149,6 +152,7 @@@@
@


1.2
log
@Add NetBSD RCS Ids.
@
text
@d1 1
a1 1
$NetBSD$
d3 77
a79 111
*** Makefile.orig	Wed Jan 26 20:32:33 1994
--- Makefile	Mon Nov 20 01:31:41 1995
***************
*** 38,44 ****
  
  STATICFLAG=FOOBAR${HOST_ARCH}
  
! CFLAGS = -g -I.  ${$(STATICFLAG)} 
  # The following is better if you want to make sure you run with SYSV defined
  # CFLAGS = -g -I.  ${$(STATICFLAG)}  -DSYSV
  # Also, for SGI Irix, compile in K&R mode
--- 38,44 ----
  
  STATICFLAG=FOOBAR${HOST_ARCH}
  
! CFLAGS += -I.  ${$(STATICFLAG)}
  # The following is better if you want to make sure you run with SYSV defined
  # CFLAGS = -g -I.  ${$(STATICFLAG)}  -DSYSV
  # Also, for SGI Irix, compile in K&R mode
***************
*** 49,57 ****
  # LDLIBS variable.
  #
  # For Sun and BSD systems, the following should work...
! LDLIBS =
  # On BSD 4.4 systems, you will need the following
! # LDLIBS = -lcompat
  # On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
  # LDLIBS = -lsun -lc_s
  # ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
--- 49,57 ----
  # LDLIBS variable.
  #
  # For Sun and BSD systems, the following should work...
! # LDLIBS =
  # On BSD 4.4 systems, you will need the following
! LDLIBS = -s -lcompat
  # On SGI machines, we need -lsun for getpw...(), and -lc_s saves some space.
  # LDLIBS = -lsun -lc_s
  # ISC SysVr3.2.2 has a shared C library and requires libinet.a to resolve
***************
*** 72,81 ****
  #	install -s -c $(LOCALBINDIR) $$file
  #
  #INSTALL = cp
! INSTALL = install -c -s
  
  # Root of installation tree
! INSTROOT = /usr/local
  #
  # This is where binaries should be copied
  LOCALBINDIR = ${INSTROOT}/bin
--- 72,81 ----
  #	install -s -c $(LOCALBINDIR) $$file
  #
  #INSTALL = cp
! INSTALL = install -c
  
  # Root of installation tree
! INSTROOT = ${PREFIX}
  #
  # This is where binaries should be copied
  LOCALBINDIR = ${INSTROOT}/bin
***************
*** 96,104 ****
  # This helps with the "for" constructs below on some platforms:
  SHELL=/bin/sh
  
! install: basics
  
! basics::
  	(cd metamail ; $(MAKE)  CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"  LDLIBS="${LDLIBS}")
  	-${RM} bin/metamail
  	(cd bin; ${LN} ../metamail/metamail metamail)
--- 96,104 ----
  # This helps with the "for" constructs below on some platforms:
  SHELL=/bin/sh
  
! install: install-all
  
! all basics::
  	(cd metamail ; $(MAKE)  CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"  LDLIBS="${LDLIBS}")
  	-${RM} bin/metamail
  	(cd bin; ${LN} ../metamail/metamail metamail)
***************
*** 117,123 ****
  	(cd bin; ${LN} ../richmail/richtext richtext)
  	-${RM} bin/richtoatk
  	(cd bin; ${LN} ../richmail/richtoatk richtoatk)
! 	(cd fonts ; $(MAKE)  CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"   LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}")
  	-${RM} bin/shownonascii
  	(cd bin; ${LN} ../fonts/shownonascii shownonascii)
  	-${RM} bin/mailto-hebrew
--- 117,123 ----
  	(cd bin; ${LN} ../richmail/richtext richtext)
  	-${RM} bin/richtoatk
  	(cd bin; ${LN} ../richmail/richtoatk richtoatk)
! 	(cd fonts ; $(MAKE) PREFIX=${PREFIX} CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"   LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}")
  	-${RM} bin/shownonascii
  	(cd bin; ${LN} ../fonts/shownonascii shownonascii)
  	-${RM} bin/mailto-hebrew
***************
*** 149,154 ****
--- 149,155 ----
  	-mv $(MAILCAPDIR)/mailcap $(MAILCAPDIR)/mailcap.old
  	@@echo "installing file $(MAILCAPDIR)/mailcap"
  	${CP} mailcap $(MAILCAPDIR)
+ 	(cd fonts ; $(MAKE) PREFIX=${PREFIX} CONFIGDIR=../${CONFIGDIR}  CFLAGS="${CFLAGS}" CC="${CC}"   LDLIBS="${LDLIBS}" FONTSUFFIX="${FONTSUFFIX}" install)
  
  uninstall-all:
  	@@(cd bin; 				\
@


1.1
log
@Initial revision
@
text
@d1 2
@


1.1.1.1
log
@Initial import of the metamail-2.7 FreeBSD port into the NetBSD
packages collection.
@
text
@@
