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)
This commit is contained in:
parent
17f5a6499f
commit
84b84ec195
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356151
2 changed files with 9 additions and 11 deletions
|
@ -18,24 +18,16 @@ GNU_CONFIGURE= yes
|
|||
SUB_FILES= pkg-message
|
||||
SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX}
|
||||
|
||||
PLIST_FILES= bin/qmail-auditor
|
||||
|
||||
PORTDOCS= README
|
||||
|
||||
INSTALL_TARGET= perm
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|@prefix@|g' \
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
6
mail/qmail-auditor/pkg-plist
Normal file
6
mail/qmail-auditor/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
|
||||
@owner qmailq
|
||||
@group qmail
|
||||
@mode 4511
|
||||
bin/qmail-auditor
|
Loading…
Reference in a new issue