openbsd-ports/devel/ctm/patches/patch-ctm_ctm_Makefile
naddy dbfd750590 Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
2011-06-23 22:50:26 +00:00

27 lines
741 B
Plaintext

$OpenBSD: patch-ctm_ctm_Makefile,v 1.4 2011/06/23 22:50:27 naddy Exp $
--- ctm/ctm/Makefile.orig Tue May 28 01:47:37 1996
+++ ctm/ctm/Makefile Tue Jun 21 07:04:56 2011
@@ -9,18 +9,14 @@
# $Id: patch-ctm_ctm_Makefile,v 1.4 2011/06/23 22:50:27 naddy Exp $
#
-BINDIR=/usr/local/bin
-MANDIR=/usr/local/man/cat
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/man
PROG= ctm
NOTYET= ctm_ed.c
SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \
- ctm_syntax.c ctm_ed.c
-LDADD+= -L/usr/local/lib -lmd
-DPADD+= ${LIBMD}
-MAN1= ctm.1
-MAN5= ctm.5
-CFLAGS+= -I/usr/local/include -Wall
+ ctm_syntax.c ctm_ed.c ctm_passb.c
+MAN= ctm.1 ctm.5
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"