mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
19bd5d7c6b
- Add INSTALL_TARGET=install-strip - Replace a patch with post-patch and post-install and use @sample
30 lines
663 B
Makefile
30 lines
663 B
Makefile
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libnss-mysql
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 4
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= vd@FreeBSD.org
|
|
COMMENT= NSS module using a MySQL database for backend
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
|
|
INSTALL_TARGET= install-strip
|
|
USES= libtool
|
|
USE_LDCONFIG= 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>
|