svn commit: r356146 - head/mail/qmail-activedir
Michael Gmelin
grembo at FreeBSD.org
Sun Jun 1 16:03:49 UTC 2014
Author: grembo
Date: Sun Jun 1 16:03:48 2014
New Revision: 356146
URL: http://svnweb.freebsd.org/changeset/ports/356146
QAT: https://qat.redports.org/buildarchive/r356146/
Log:
Stagify. Uncommon order of pkg-plist entries is due to
problems with old pkg_tools (PORTDOCS won't to the right
thing, resetting will use wrong user if built using
non-root user, explicitly stating root:wheel seems in-
correct too, therefore I moved them to the top)
Reviewed by: flo (mentor)
Approved by: flo (mentor)
Added:
head/mail/qmail-activedir/pkg-plist (contents, props changed)
Modified:
head/mail/qmail-activedir/Makefile
Modified: head/mail/qmail-activedir/Makefile
==============================================================================
--- head/mail/qmail-activedir/Makefile Sun Jun 1 16:01:11 2014 (r356145)
+++ head/mail/qmail-activedir/Makefile Sun Jun 1 16:03:48 2014 (r356146)
@@ -19,18 +19,10 @@ BINARIES= checkadpassword qmail-adgetpw
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -Wall -lldap
-PLIST_FILES= bin/checkadpassword \
- bin/create_alias_files \
- bin/qmail-adgetpw
-
-PORTDOCS= INSTALL README
-
.if defined(WITH_OPENLDAP_VER)
WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
.endif
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@@ -49,19 +41,11 @@ do-build:
do-install:
.for prog in ${BINARIES}
- ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${STAGEDIR}${PREFIX}/bin/
.endfor
- ${CHMOD} 700 ${PREFIX}/bin/checkadpassword \
- ${PREFIX}/bin/create_alias_files
- ${CHMOD} 711 ${PREFIX}/bin/qmail-adgetpw
- ${CHOWN} root:qmail ${PREFIX}/bin/qmail-adgetpw
- ${CHOWN} root:wheel ${PREFIX}/bin/create_alias_files
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Added: head/mail/qmail-activedir/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/qmail-activedir/pkg-plist Sun Jun 1 16:03:48 2014 (r356146)
@@ -0,0 +1,9 @@
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at mode 700
+bin/checkadpassword
+bin/create_alias_files
+ at mode 711
+ at group qmail
+bin/qmail-adgetpw
More information about the svn-ports-all
mailing list