- Support CC/CFLAGS properly - Add LICENSE Remove file: pkg-plist
Author: vanilla Date: Wed Jan 15 09:12:07 2014 New Revision: 339768 URL: http://svnweb.freebsd.org/changeset/ports/339768 QAT: https://qat.redports.org/buildarchive/r339768/ Log: 1: Support CC/CFLAGS properly 2: Add LICENSE 3: support stagedir. PR: ports/185710 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Modified: head/net/yptransitd/Makefile head/net/yptransitd/pkg-plist Modified: head/net/yptransitd/Makefile ============================================================================== --- head/net/yptransitd/Makefile Wed Jan 15 08:48:46 2014 (r339767) +++ head/net/yptransitd/Makefile Wed Jan 15 09:12:07 2014 (r339768) @@ -3,27 +3,44 @@ PORTNAME= yptransitd PORTVERSION= 0.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org -COMMENT= A replacement for nss_ldap +COMMENT= Replacement for nss_ldap + +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE -USE_OPENLDAP= yes USES= bison -USE_LDCONFIG= yes +USE_OPENLDAP= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-ldap-prefix=${LOCALBASE} +CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE} +USE_LDCONFIG= yes +MAKE_JOBS_UNSAFE= yes + +PLIST_FILES= %%ETCDIR%%/ldap.conf %%ETCDIR%%/modules/ldap.so \ + %%ETCDIR%%/yptransitd.conf sbin/yptransitd +PLIST_DIRS= %%ETCDIR%%/modules %%ETCDIR%% -NO_STAGE= yes post-patch: + @${REINPLACE_CMD} -e 's, $$(CONFDIR), $${DESTDIR}$$(CONFDIR),' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's,=gcc,=@CC@,' \ + ${WRKSRC}/lib/Makefile.in + @${REINPLACE_CMD} -e 's,-O2 -g,@CFLAGS@, ; \ + s, $${BINDIR}, $${DESTDIR}$${BINDIR},' \ + ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -E 's,^([[:blank:]]+)\([^\)]+\) ,\1,' \ ${WRKSRC}/src/modules.c + @${REINPLACE_CMD} -e 's,-O2 -g,@CFLAGS@, ; \ + s, $$(CONFDIR), $${DESTDIR}$$(CONFDIR),' \ + ${WRKSRC}/src/modules/ldap/Makefile.in @${REINPLACE_CMD} -e 's,(void \*) ,,g' \ ${WRKSRC}/src/modules/ldap/cache.c -post-install: - @${CAT} ${PKGMESSAGE} +pre-install: + @${MKDIR} ${STAGEDIR}${ETCDIR}/modules .include <bsd.port.mk> Modified: head/net/yptransitd/pkg-plist ============================================================================== --- head/net/yptransitd/pkg-plist Wed Jan 15 08:48:46 2014 (r339767) +++ head/net/yptransitd/pkg-plist Wed Jan 15 09:12:07 2014 (r339768) @@ -1,6 +0,0 @@ -etc/yptransitd/yptransitd.conf -sbin/yptransitd -etc/yptransitd/modules/ldap.so -etc/yptransitd/ldap.conf -@dirrm etc/yptransitd/modules -@dirrm etc/yptransitd _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks.