aboutsummaryrefslogtreecommitdiff
path: root/security/pam-pgsql
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-05 21:17:07 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-05 21:17:07 +0000
commit2b4f0257f1b1229c5ca41f5d8c9e47b15c90038d (patch)
tree528c795634f9a27dc76702d4cd3f93a52350e079 /security/pam-pgsql
parentccf916fad86dd7d097789f10c19b8962059ba96c (diff)
downloadports-2b4f0257f1b1229c5ca41f5d8c9e47b15c90038d.tar.gz
ports-2b4f0257f1b1229c5ca41f5d8c9e47b15c90038d.zip
- New LIB_DEPENDS syntax
- Add USES=libtool - Apply substitutions to pkg-message
Notes
Notes: svn path=/head/; revision=360819
Diffstat (limited to 'security/pam-pgsql')
-rw-r--r--security/pam-pgsql/Makefile13
-rw-r--r--security/pam-pgsql/files/pkg-message.in (renamed from security/pam-pgsql/pkg-message)0
-rw-r--r--security/pam-pgsql/pkg-plist2
3 files changed, 7 insertions, 8 deletions
diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile
index c73e714156b0..a09402ad81fc 100644
--- a/security/pam-pgsql/Makefile
+++ b/security/pam-pgsql/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pam-pgsql
PORTVERSION= 0.7.3.1
+PORTREVISION= 1
CATEGORIES= security databases
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.7/
@@ -11,20 +12,18 @@ COMMENT= PAM module for authenticating with PostgreSQL
LICENSE= GPLv2
-LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash \
- gcrypt:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS= libmhash.so:${PORTSDIR}/security/mhash \
+ libgcrypt.so:${PORTSDIR}/security/libgcrypt
+USES= libtool
USE_PGSQL= yes
GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS+= --libdir=/usr/lib
+CONFIGURE_ARGS= --libdir=/usr/lib
+SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR}
diff --git a/security/pam-pgsql/pkg-message b/security/pam-pgsql/files/pkg-message.in
index f6a92946faa8..f6a92946faa8 100644
--- a/security/pam-pgsql/pkg-message
+++ b/security/pam-pgsql/files/pkg-message.in
diff --git a/security/pam-pgsql/pkg-plist b/security/pam-pgsql/pkg-plist
index 5fc42044025f..743344738337 100644
--- a/security/pam-pgsql/pkg-plist
+++ b/security/pam-pgsql/pkg-plist
@@ -6,4 +6,4 @@
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@cwd /usr
lib/pam_pgsql.so
-lib/pam_pgsql.la
+@cwd