diff options
-rw-r--r-- | security/pam-pgsql/Makefile | 11 | ||||
-rw-r--r-- | security/pam-pgsql/pkg-plist | 8 |
2 files changed, 8 insertions, 11 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> diff --git a/security/pam-pgsql/pkg-plist b/security/pam-pgsql/pkg-plist index 1bd61e594b21..a91967e2542c 100644 --- a/security/pam-pgsql/pkg-plist +++ b/security/pam-pgsql/pkg-plist @@ -1,6 +1,6 @@ -%%DOC%%share/doc/pam_pgsql/README -%%DOC%%share/doc/pam_pgsql/changelog -%%DOC%%share/doc/pam_pgsql/copyright -%%DOC%%@dirrm share/doc/pam_pgsql +%%PORTDOCS%%%%DOCDIR%%/README +%%PORTDOCS%%%%DOCDIR%%/changelog +%%PORTDOCS%%%%DOCDIR%%/copyright +%%PORTDOCS%%@dirrm %%DOCDIR%% @cwd /usr lib/pam_pgsql.so |