aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-03-07 20:43:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-03-07 20:43:15 +0000
commit979cff51ce48ee9c99e9eb480c3ae19d92537f76 (patch)
tree2fb57fd9821bb876c287db470ef0812cee509a7e /print/cups-base/Makefile
parentd8f224ac12f055066cab9663322367d01d6ff341 (diff)
downloadports-979cff51ce48ee9c99e9eb480c3ae19d92537f76.tar.gz
ports-979cff51ce48ee9c99e9eb480c3ae19d92537f76.zip
Notes
Diffstat (limited to 'print/cups-base/Makefile')
-rw-r--r--print/cups-base/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 80cc315301b9..88e47d3f77d8 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -362,6 +362,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/conf/${f} ${CUPS_ETCDIR}/${f}.N
cd ${CUPS_ETCDIR}/; if test ! -f ${f}; then ${CP} -p ${f}.N ${f}; fi
.endfor
+.if defined(WITH_PAM)
+ @if [ ! -f ${PREFIX}/etc/pam.d/cups ]; then \
+ ${CP} -p ${PREFIX}/etc/pam.d/cups.default \
+ ${PREFIX}/etc/pam.d/cups ; \
+ fi
+.endif
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/ulpt-cupsd.conf ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKDIR}/ulpt-cupsd.sh ${PREFIX}/sbin/