ports/security/expiretable/files/patch-Makefile
Muhammad Moinur Rahman c4c00f8a7e security/expiretable: Sanitize MANPREFIX
Approved by:	portmgr (blanket)
2024-01-21 18:53:29 +01:00

34 lines
764 B
Text

--- Makefile.orig 2006-01-11 13:09:05 UTC
+++ Makefile
@@ -2,7 +2,7 @@ INSTALL_BIN?=${PREFIX}/sbin
PREFIX?=/usr/local
INSTALL_BIN?=${PREFIX}/sbin
-INSTALL_MAN?=${PREFIX}/man/man1
+INSTALL_MAN?=${PREFIX}/share/man/man1
INSTALL?=`which install`
GROFF?=`which groff`
@@ -21,14 +21,14 @@ install: ${TARGET}
all: ${TARGET}
install: ${TARGET}
- ${INSTALL} -g bin -o root -m 755 ${TARGET} ${INSTALL_BIN}
- ${INSTALL} -g bin -o root -m 644 ${MAN} ${INSTALL_MAN}
+ ${INSTALL} -s -m 755 ${TARGET} ${DESTDIR}${INSTALL_BIN}
+ ${INSTALL} -m 644 ${MAN} ${DESTDIR}${INSTALL_MAN}
clean:
rm -f ${TARGET}
rm -f ${OBJECTS}
rm -f llib-lexpiretable.ln
-
+
obj: ${OBJECTS}
html:
@@ -42,4 +42,3 @@ ${TARGET}: ${OBJECTS}
.c.o:
${CC} ${CFLAGS} -c $< -o $@
-