ports/net/libnss-mysql/Makefile
Rodrigo Osorio 06df180a9e */*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems

Approved by:	portmgr (blanket)
PR:		274888
2023-11-06 11:03:47 +01:00

26 lines
627 B
Makefile

PORTNAME= libnss-mysql
PORTVERSION= 1.5
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= fluffy@FreeBSD.org
COMMENT= NSS module using a MySQL database for backend
WWW= https://libnss-mysql.sourceforge.net/
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
INSTALL_TARGET= install-strip
USES= libtool mysql
USE_LDCONFIG= 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>