aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorgrembo <grembo@FreeBSD.org>2014-06-02 00:32:06 +0800
committergrembo <grembo@FreeBSD.org>2014-06-02 00:32:06 +0800
commit6c8c5ba3a98dbc5f8237ae5e7b3105d25056b0de (patch)
treea46c81d463e4b35de8b0261cf466bfd6e3fb047f /mail
parenta95c19cbf4d307b043429ddd98b6bdb047a8adfa (diff)
downloadfreebsd-ports-gnome-6c8c5ba3a98dbc5f8237ae5e7b3105d25056b0de.tar.gz
freebsd-ports-gnome-6c8c5ba3a98dbc5f8237ae5e7b3105d25056b0de.tar.zst
freebsd-ports-gnome-6c8c5ba3a98dbc5f8237ae5e7b3105d25056b0de.zip
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)
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail-auditor/Makefile14
-rw-r--r--mail/qmail-auditor/pkg-plist6
2 files changed, 9 insertions, 11 deletions
diff --git a/mail/qmail-auditor/Makefile b/mail/qmail-auditor/Makefile
index 88a53de2c9ed..a0516e6a5bfc 100644
--- a/mail/qmail-auditor/Makefile
+++ b/mail/qmail-auditor/Makefile
@@ -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>
diff --git a/mail/qmail-auditor/pkg-plist b/mail/qmail-auditor/pkg-plist
new file mode 100644
index 000000000000..bb1dc8719886
--- /dev/null
+++ b/mail/qmail-auditor/pkg-plist
@@ -0,0 +1,6 @@
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@owner qmailq
+@group qmail
+@mode 4511
+bin/qmail-auditor