Initial revision
authorThorsten Glaser <tg@mirbsd.org>
Mon, 19 Aug 2013 23:23:03 +0000 (23:23 +0000)
committerThorsten Glaser <tg@mirbsd.org>
Mon, 19 Aug 2013 23:23:03 +0000 (23:23 +0000)
Makefile.bsd-wrapper [new file with mode: 0644]

diff --git a/Makefile.bsd-wrapper b/Makefile.bsd-wrapper
new file mode 100644 (file)
index 0000000..2563c51
--- /dev/null
@@ -0,0 +1,34 @@
+# $MirOS: contrib/code/jupp/Makefile.bsd-wrapper,v 1.1 2013/08/19 17:40:16 tg Exp $
+
+MAN=           joe.1
+INST_TARGET=   INSTALL_MAN= install
+CLEANFILES+=   charmaps syntax
+
+CFPREFIX?=     /usr/local
+.if ${CFPREFIX} == "/usr"
+CFMANDIR?=     /usr/share/man
+.endif
+CFMANDIR?=     ${CFPREFIX}/man
+CFETC?=                /etc
+
+sysconfjoesubdir?=/jupp
+
+CFARGS+=       --prefix=${CFPREFIX:Q} \
+               --mandir=${CFMANDIR:Q} \
+               --sysconfdir=${CFETC:Q}
+XARGS+=                sysconfjoesubdir=${sysconfjoesubdir:Q}
+
+.include <bsd.own.mk>
+FSFISLIB=      No
+
+.ifdef __CRAZY
+COPTS+=                -Wno-unused-parameter \
+               -Wno-missing-field-initializers \
+               -Wno-old-style-definition -Wno-strict-prototypes \
+               -Wno-cast-qual \
+               -Wno-missing-prototypes -Wno-missing-declarations
+.endif
+
+joe.1: config.status
+
+.include <bsd.cfwrap.mk>