summaryrefslogtreecommitdiff
path: root/mail/qmail-notify
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-06 04:34:23 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-06 04:34:23 +0000
commitcb7d5cc607bbcd6285b960eecd3a1daf1d7e9e1e (patch)
treed206a205dd3870d245c26875f1da2aaa627aad64 /mail/qmail-notify
parentFix build without gcc. (diff)
In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances, correct examples being controlled by the DOCS option.
Notes
Notes: svn path=/head/; revision=364152
Diffstat (limited to 'mail/qmail-notify')
-rw-r--r--mail/qmail-notify/Makefile6
-rw-r--r--mail/qmail-notify/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/mail/qmail-notify/Makefile b/mail/qmail-notify/Makefile
index 6c51f091d54a..6d6b1740d826 100644
--- a/mail/qmail-notify/Makefile
+++ b/mail/qmail-notify/Makefile
@@ -23,10 +23,10 @@ do-configure:
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-install:
- cd ${WRKSRC} && ./installer
+ (cd ${WRKSRC} && ./installer)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/mail/qmail-notify/pkg-plist b/mail/qmail-notify/pkg-plist
index 53a196634694..09684fe9b343 100644
--- a/mail/qmail-notify/pkg-plist
+++ b/mail/qmail-notify/pkg-plist
@@ -1,7 +1,7 @@
bin/qmail-notify
-%%EXAMPLESDIR%%/cron.hourly
-%%EXAMPLESDIR%%/message.txt
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cron.hourly
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/message.txt
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO