aboutsummaryrefslogtreecommitdiff
path: root/security/pam-pgsql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam-pgsql/Makefile')
-rw-r--r--security/pam-pgsql/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile
index 3f9f9e040729..f7688756ab5d 100644
--- a/security/pam-pgsql/Makefile
+++ b/security/pam-pgsql/Makefile
@@ -26,15 +26,12 @@ MAKE_ARGS+= -j 2
post-install:
${CAT} ${PKGMESSAGE}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCDIR}
+ @${MKDIR} ${LOCALBASE}/${DOCDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/debian/changelog \
- ${WRKSRC}/debian/copyright ${DOCDIR}
+ ${WRKSRC}/debian/copyright ${LOCALBASE}/${DOCDIR}
-PLIST_SUB+= DOC=''
-DOCDIR= ${LOCALBASE}/share/doc/pam-pgsql
-
-.else
-PLIST_SUB+= DOC='@comment '
+DOCDIR= share/doc/pam-pgsql
+PLIST_SUB+= DOCDIR=${DOCDIR}
.endif
.include <bsd.port.mk>