svn commit: r361459 - in head/net/libnss-mysql: . files
Tijl Coosemans
tijl at FreeBSD.org
Thu Jul 10 15:08:08 UTC 2014
Author: tijl
Date: Thu Jul 10 15:08:07 2014
New Revision: 361459
URL: http://svnweb.freebsd.org/changeset/ports/361459
QAT: https://qat.redports.org/buildarchive/r361459/
Log:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Replace a patch with post-patch and post-install and use @sample
Deleted:
head/net/libnss-mysql/files/
Modified:
head/net/libnss-mysql/Makefile
head/net/libnss-mysql/pkg-plist
Modified: head/net/libnss-mysql/Makefile
==============================================================================
--- head/net/libnss-mysql/Makefile Thu Jul 10 15:05:57 2014 (r361458)
+++ head/net/libnss-mysql/Makefile Thu Jul 10 15:08:07 2014 (r361459)
@@ -3,17 +3,27 @@
PORTNAME= libnss-mysql
PORTVERSION= 1.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= vd at FreeBSD.org
COMMENT= NSS module using a MySQL database for backend
-USE_AUTOTOOLS= libtool
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
+INSTALL_TARGET= install-strip
+USES= libtool
USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
USE_MYSQL= yes
+post-patch:
+ @${REINPLACE_CMD} 's,$${srcdir}/aux/mkinstalldirs,$${mkinstalldirs},' \
+ ${WRKSRC}/Makefile.in
+
+post-install:
+.for f in libnss-mysql.cfg libnss-mysql-root.cfg
+ ${MV} ${STAGEDIR}${PREFIX}/etc/$f ${STAGEDIR}${PREFIX}/etc/$f.sample
+.endfor
+
.include <bsd.port.mk>
Modified: head/net/libnss-mysql/pkg-plist
==============================================================================
--- head/net/libnss-mysql/pkg-plist Thu Jul 10 15:05:57 2014 (r361458)
+++ head/net/libnss-mysql/pkg-plist Thu Jul 10 15:08:07 2014 (r361459)
@@ -1,6 +1,5 @@
-etc/libnss-mysql.cfg-dist
-etc/libnss-mysql-root.cfg-dist
-lib/nss_mysql.a
-lib/nss_mysql.la
+ at sample etc/libnss-mysql.cfg.sample
+ at sample etc/libnss-mysql-root.cfg.sample
lib/nss_mysql.so
lib/nss_mysql.so.1
+lib/nss_mysql.so.1.0.0
More information about the svn-ports-all
mailing list