ports/devel/libpdel/files/patch-Makefile
Christian Weisgerber 007cd1d0e3 devel/libpdel: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-14 10:59:13 +01:00

32 lines
773 B
Text

--- Makefile.orig 2009-05-13 21:36:05 UTC
+++ Makefile
@@ -2,6 +2,11 @@ LIB= pdel
LIB= pdel
+BINOWN!= /usr/bin/id -n -u
+BINGRP!= /usr/bin/id -n -g
+SHAREOWN= ${BINOWN}
+SHAREGRP= ${BINGRP}
+
SUBDIRS= config http io misc net pdel ppp regex structs sys thread tmpl util
VERSION!= grep -w PDEL_VERSION_STRING ${.CURDIR}/version.h \
@@ -23,7 +28,7 @@ SHLIBDIR= ${PREFIX}/${LIBSUFX}
LIBSUFX= lib
LIBDIR= ${PREFIX}/${LIBSUFX}
SHLIBDIR= ${PREFIX}/${LIBSUFX}
-MANSUFX= man/man
+MANSUFX= share/man/man
MANDIR= ${PREFIX}/${MANSUFX}
INCSUFX= include/pdel
INCDIR= ${PREFIX}/${INCSUFX}
@@ -32,7 +37,7 @@ MAN= libpdel.3
SHLIB_MAJOR= ${VERSION_MAJOR}
SHLIB_MAJOR= ${VERSION_MINOR}
MAN= libpdel.3
-NO_PROFILE=
+MK_PROFILE= no
INCHDRS= version.h
BASEINCHDRS=