diff options
author | mi <mi@FreeBSD.org> | 2001-03-31 02:20:29 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2001-03-31 02:20:29 +0800 |
commit | 4b0d5a9e1877e4ee77a05f932817ab5ee56f232f (patch) | |
tree | 8d3904774136dbe513527354ca1777c3ae60aeba /security | |
parent | 20dc6581446b3e2d89dd26b4cc183ffee0f26e95 (diff) | |
download | freebsd-ports-gnome-4b0d5a9e1877e4ee77a05f932817ab5ee56f232f.tar.gz freebsd-ports-gnome-4b0d5a9e1877e4ee77a05f932817ab5ee56f232f.tar.zst freebsd-ports-gnome-4b0d5a9e1877e4ee77a05f932817ab5ee56f232f.zip |
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)
Diffstat (limited to 'security')
-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 |