freebsd-ports/sysutils/ipa/files/patch-aa
Daichi GOTO 49ba68c385 update sysutils/ipa: 1.3.4 -> 1.3.5
PR:		54253
Submitted by:	Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> (maintainer)
2003-07-10 08:53:06 +00:00

37 lines
1.2 KiB
Text

--- Makefile.orig Fri Jun 27 11:20:49 2003
+++ Makefile Fri Jun 27 11:23:09 2003
@@ -38,7 +38,7 @@
# -Ox - optimize;
# -g - produce debugging information.
#
-CFLAGS= -Wall -O1 -g
+#CFLAGS= -Wall -O1 -g
#
# PREFIX - prefix for all below listed paths
@@ -81,10 +81,10 @@
#
# INSTALL_* variables
#
-INSTALL_MAN= ${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_DATA= ${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_PROGRAM= ${INSTALL} -c -g wheel -o root -m 0555
-INSTALL_SCRIPT= ${INSTALL} -c -g wheel -o root -m 0500
+INSTALL_MAN= ${BSD_INSTALL_MAN}
+INSTALL_DATA= ${BSD_INSTALL_DATA}
+INSTALL_PROGRAM= ${BSD_INSTALL_PROGRAM}
+INSTALL_SCRIPT= ${BSD_INSTALL_SCRIPT}
INSTALL_MAN_DIR= ${INSTALL} -d -m 0555 -g wheel -o root
INSTALL_DATA_DIR= ${INSTALL} -d -m 0555 -g wheel -o root
@@ -225,8 +225,10 @@
.endif
${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.5 man/ru_RU.KOI8-R/ipa.conf.5 ${DST_MAN_DIR}/ru_RU.KOI8-R/man5
${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.8 man/ru_RU.KOI8-R/ipastat.8 ${DST_MAN_DIR}/ru_RU.KOI8-R/man8
+.if !defined(NOPORTDOCS)
${INSTALL_DATA_DIR} ${DST_EXAMPLE_DIR}
${INSTALL_DATA} examples/* ${DST_EXAMPLE_DIR}
+.endif
.if exists(${DST_RC_DIR})
${INSTALL_SCRIPT} etc/ipa.sh.sample ${DST_RC_DIR}
.else