Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 14:36:36 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343095 - head/security/pam-mysql
Message-ID:  <201402061436.s16EaaF1070882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Feb  6 14:36:36 2014
New Revision: 343095
URL: http://svnweb.freebsd.org/changeset/ports/343095
QAT: https://qat.redports.org/buildarchive/r343095/

Log:
  Support stage
  Do not build the useless static version
  Use USES=libtool
  Remove the unneeded dependencies on autotools
  General cleanup

Modified:
  head/security/pam-mysql/Makefile

Modified: head/security/pam-mysql/Makefile
==============================================================================
--- head/security/pam-mysql/Makefile	Thu Feb  6 14:34:58 2014	(r343094)
+++ head/security/pam-mysql/Makefile	Thu Feb  6 14:36:36 2014	(r343095)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061436.s16EaaF1070882>