1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

add STAGE support

This commit is contained in:
Oliver Lehmann 2014-06-11 16:32:47 +00:00
parent 264f4f0e93
commit 69baf55a1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357504
10 changed files with 15 additions and 20 deletions

View File

@ -8,5 +8,4 @@ CATEGORIES= databases mail
MASTERDIR= ${.CURDIR}/../../security/courier-authlib
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -8,5 +8,4 @@ CATEGORIES= databases mail
MASTERDIR= ${.CURDIR}/../../security/courier-authlib
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -8,5 +8,4 @@ CATEGORIES= databases mail
MASTERDIR= ${.CURDIR}/../../security/courier-authlib
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -8,5 +8,4 @@ CATEGORIES= databases mail
MASTERDIR= ${.CURDIR}/../../security/courier-authlib
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -8,5 +8,4 @@ CATEGORIES= mail
MASTERDIR= ${.CURDIR}/../../security/courier-authlib
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -29,7 +29,6 @@ SENTRENAME_DESC= Periodic rename the Sent folder
CHARSET_DESC= charsets
FAM_USES= fam
NO_STAGE= yes
.include "${.CURDIR}/../../security/courier-authlib/Makefile.opt"
CGIBINDIR?= www/cgi-bin-dist
@ -189,9 +188,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|mkdir -p|${MKDIR}|g' ${WRKSRC}/libs/pcp/configure
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for a in ${EXTRA_DOCS}
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${a} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
@${ECHO_MSG} ""

View File

@ -8,5 +8,4 @@ CATEGORIES= net mail
MASTERDIR= ${.CURDIR}/../../security/courier-authlib
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -8,5 +8,4 @@ CATEGORIES= security mail
MASTERDIR= ${.CURDIR}/../../security/courier-authlib
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -26,7 +26,6 @@ PATCHDIR= /dev/null
OPTIONS_DEFINE+= GDBM
NO_STAGE= yes
.include "${.CURDIR}/Makefile.opt"
.else # !defined(PKGNAMESUFFIX)
@ -208,9 +207,9 @@ pre-install:
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} ${_SHROWNGRP} -d ${DOCSDIR}
@${INSTALL} ${_SHROWNGRP} -d ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.endif # !defined(PKGNAMESUFFIX)

View File

@ -226,13 +226,13 @@
@HAVE_LDAP_FALSE@ @:
+@HAVE_LDAP_TRUE@install-ldapschema:
+@HAVE_LDAP_TRUE@ $(mkinstalldirs) ${sysconfdir}/openldap/schema
+@HAVE_LDAP_TRUE@ $(mkinstalldirs) ${DESTDIR}${sysconfdir}/openldap/schema
+@HAVE_LDAP_TRUE@ $(INSTALL_DATA) -m 0444 $(srcdir)/authldap.schema \
+@HAVE_LDAP_TRUE@ ${sysconfdir}/openldap/schema/authldap.schema.default
+@HAVE_LDAP_TRUE@ if test ! -f ${sysconfdir}/openldap/schema/authldap.schema ; then \
+@HAVE_LDAP_TRUE@ $(INSTALL_DATA) -m 0444 $(srcdir)/authldap.schema \
+@HAVE_LDAP_TRUE@ ${sysconfdir}/openldap/schema/authldap.schema ; \
+@HAVE_LDAP_TRUE@ fi
+@HAVE_LDAP_TRUE@ ${DESTDIR}${sysconfdir}/openldap/schema/authldap.schema.default
+@HAVE_LDAP_TRUE@# if test ! -f ${sysconfdir}/openldap/schema/authldap.schema ; then \
+@HAVE_LDAP_TRUE@# $(INSTALL_DATA) -m 0444 $(srcdir)/authldap.schema \
+@HAVE_LDAP_TRUE@# ${sysconfdir}/openldap/schema/authldap.schema ; \
+@HAVE_LDAP_TRUE@# fi
+
+@HAVE_LDAP_FALSE@install-ldapschema:
+@HAVE_LDAP_FALSE@ @:
@ -273,7 +273,7 @@
authdaemonrc.h:
echo "#define AUTHDAEMONRC \"@authdaemonrc@\"" >authdaemonrc.h
@@ -2003,24 +2063,26 @@
@@ -2003,24 +2063,30 @@
# automake still a bit stupid...
install-data-hook: install-authdaemonrc install-authpgsqlrc \
@ -299,6 +299,10 @@
+@HAVE_BASE_TRUE@ chmod 755 $(DESTDIR)$(pkglibexecdir)
+@HAVE_BASE_TRUE@ -chown @mailuser@ $(DESTDIR)$(pkglibexecdir)
+@HAVE_BASE_TRUE@ -chgrp @mailgroup@ $(DESTDIR)$(pkglibexecdir)
+@HAVE_USERDB_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir) || :
+@HAVE_USERDB_TRUE@ chmod 755 $(DESTDIR)$(pkglibexecdir)
+@HAVE_USERDB_TRUE@ -chown @mailuser@ $(DESTDIR)$(pkglibexecdir)
+@HAVE_USERDB_TRUE@ -chgrp @mailgroup@ $(DESTDIR)$(pkglibexecdir)
+@HAVE_BASE_TRUE@ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) authdaemondprog $(DESTDIR)$(pkglibexecdir)/authdaemond
+@HAVE_BASE_TRUE@ $(mkinstalldirs) $(DESTDIR)@authdaemonvar@ || :
+@HAVE_BASE_TRUE@ chmod 750 $(DESTDIR)@authdaemonvar@