1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix the package building (I used - in the Makefile, but _ in the

pkg-plist)  by passing  the DOCDIR  variable through  PLIST_SUB.
Remove my  own PLIST_SUB hackery that  predated (and, hopefully,
inspired) the now standard PORTDOCS addition.

Surprisingly enough, there still is no version 0.4 of this thing
on the distsite...

Submitted by: bento (and fenner's script -- many thanks)
This commit is contained in:
Mikhail Teterin 2001-03-30 18:20:29 +00:00
parent c42d0b9333
commit 34cf5e431b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40599
2 changed files with 8 additions and 11 deletions

View File

@ -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>

View File

@ -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