openbsd-ports/mail/bulk_mailer/patches/patch-aa
kevlo e5d2657201 - Upgrade to version 1.13
- Add HOMEPAGE
- Take over maintainership, ok angelos@
2000-09-30 14:20:30 +00:00

32 lines
1.0 KiB
Plaintext

--- Makefile.in.orig Wed May 24 19:53:11 2000
+++ Makefile.in Fri Sep 29 15:56:36 2000
@@ -1,18 +1,25 @@
-DEFINES = @DEFS@
+DEFINES = @DEFS@ -DDEFAULT_DOMAIN=1 -DPIPECOMMAND='"/usr/sbin/sendmail -bs %s"'
LIBS = @LIBS@
-CFLAGS = $(DEFINES)
+CFLAGS = -O2 -Wall $(DEFINES)
FILES = bulk_mailer.README INSTALL bulk_mailer.c patchlevel.h Makefile.in
+all: bulk_mailer
+
bulk_mailer: bulk_mailer.o
$(CC) $(CFLAGS) -o bulk_mailer bulk_mailer.o $(LIBS)
+ strip bulk_mailer
bulk_mailer.o: bulk_mailer.c patchlevel.h
$(CC) -c $(CFLAGS) bulk_mailer.c
install: bulk_mailer
- cp bulk_mailer /usr/local/bin
+ mkdir ${PREFIX}/share/doc/bulk_mailer
+ install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bulk_mailer ${PREFIX}/bin
+ install -c -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} bulk_mailer.README ${PREFIX}/share/doc/bulk_mailer
+ install -c -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} bulk_mailer.ps ${PREFIX}/share/doc/bulk_mailer
+ install -c -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} bulk_mailer.1 ${PREFIX}/man/man1
clean:
rm -f bulk_mailer *.o