aboutsummaryrefslogtreecommitdiff
path: root/security/pam-mysql
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-02-06 14:36:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-02-06 14:36:36 +0000
commit739783cd19d0b478bae14a507c053569624c29b6 (patch)
tree8466738da16c345ac9c2456a3b32d9882b4d09d7 /security/pam-mysql
parent50ca3328811651246dda35fdc9df06799ad342c8 (diff)
downloadports-739783cd19d0b478bae14a507c053569624c29b6.tar.gz
ports-739783cd19d0b478bae14a507c053569624c29b6.zip
Support stage
Do not build the useless static version Use USES=libtool Remove the unneeded dependencies on autotools General cleanup
Notes
Notes: svn path=/head/; revision=343095
Diffstat (limited to 'security/pam-mysql')
-rw-r--r--security/pam-mysql/Makefile23
1 files changed, 8 insertions, 15 deletions
diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile
index 7af2c8f466ed..8990b426c5a9 100644
--- a/security/pam-mysql/Makefile
+++ b/security/pam-mysql/Makefile
@@ -3,37 +3,30 @@
PORTNAME= pam_mysql
PORTVERSION= 0.7.r1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security databases
MASTER_SITES= SF/pam-mysql/pam-mysql/0.7RC1
DISTNAME= ${PORTNAME}-0.7RC1${DISTVERSIONSUFFIX}
MAINTAINER= anders@FreeBSD.org
-COMMENT= A pam module for authenticating with MySQL
+COMMENT= Pam module for authenticating with MySQL
+USES= libtool
USE_MYSQL= yes
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= aclocal14 autoconf libtool
-ACLOCAL_ARGS= -I ${PREFIX}/share/aclocal
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-PLIST_FILES= lib/pam_mysql.la lib/pam_mysql.so lib/pam_mysql.a
+PLIST_FILES= lib/pam_mysql.so lib/pam_mysql.la
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog \
+ ${WRKSRC}/NEWS \
+ ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>