diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2011-03-07 20:43:15 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2011-03-07 20:43:15 +0000 |
commit | 979cff51ce48ee9c99e9eb480c3ae19d92537f76 (patch) | |
tree | 2fb57fd9821bb876c287db470ef0812cee509a7e /print/cups-base/Makefile | |
parent | d8f224ac12f055066cab9663322367d01d6ff341 (diff) | |
download | ports-979cff51ce48ee9c99e9eb480c3ae19d92537f76.tar.gz ports-979cff51ce48ee9c99e9eb480c3ae19d92537f76.zip |
Notes
Diffstat (limited to 'print/cups-base/Makefile')
-rw-r--r-- | print/cups-base/Makefile | 6 |
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/ |