openbsd-ports/sysutils/radmind/patches/patch-Makefile_in
jasper 828ed12d8d - update radmind to 1.13.0
- regen PLIST

from William Yodlowsky (MAINTAINER), thanks!
2008-11-10 09:19:25 +00:00

46 lines
1.3 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.7 2008/11/10 09:19:25 jasper Exp $
--- Makefile.in.orig Fri Nov 7 23:30:12 2008
+++ Makefile.in Fri Nov 7 23:32:16 2008
@@ -13,6 +13,7 @@ datadir=@datadir@
MANDIR=@mandir@
BINDIR=@bindir@
SBINDIR=@sbindir@
+SYSCONFDIR=@sysconfdir@
# For server
RADMINDDIR=@radminddir@
@@ -95,7 +96,7 @@ TWHICH_OBJ= version.o twhich.o argcargv.o transcri
LSORT_OBJ= version.o lsort.o pathcmp.o code.o argcargv.o
-all : ${TARGETS}
+all : ${TARGETS} rash
version.o : version.c
${CC} ${CFLAGS} \
@@ -270,6 +271,7 @@ rash : FRC
-e 's@_RADMIND_COMMANDFILE@${COMMANDFILE}@g' \
-e 's@_RADMIND_VERSION@$(shell cat VERSION)@g' \
-e 's@_RADMIND_ECHO_PATH@${ECHO}@g' \
+ -e 's@SYSCONFDIR@${SYSCONFDIR}@g' \
${srcdir}/ra.sh > tmp/ra.sh;
man : FRC
@@ -287,7 +289,7 @@ man : FRC
${srcdir}/man/$$i > tmp/man/$$i; \
done
-install : all man rash
+install : ${TARGETS} man
-mkdir -p ${DESTDIR}/${exec_prefix}
-mkdir -p ${DESTDIR}/${SBINDIR}
${INSTALL} -m 0755 -c radmind ${DESTDIR}/${SBINDIR}/
@@ -314,6 +316,7 @@ install : all man rash
-mkdir -p ${DESTDIR}/${PREAPPLYDIR}
-mkdir -p ${DESTDIR}/${POSTAPPLYDIR}
-mkdir -p ${DESTDIR}/${CERTDIR}
+ rm -rf tmp/
PKGNAME=RadmindTools-${VERSION}
PKGDIR=tmp/RadmindToolsInstaller