aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
committerdinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
commitc25974ce083ff136211ddfb55dd77fd7ec8f9a3b (patch)
tree646a482ee9d727f94ca636705cbba6169c7be195 /mail
parent558098ac9b30dc5c9e5d00b9ab8d9395ee71992a (diff)
downloadfreebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.gz
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.zst
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.zip
- use PORTEXAMPLES
Diffstat (limited to 'mail')
-rw-r--r--mail/noattach/Makefile4
-rw-r--r--mail/noattach/pkg-plist8
-rw-r--r--mail/sma/Makefile4
-rw-r--r--mail/sma/pkg-plist4
4 files changed, 12 insertions, 8 deletions
diff --git a/mail/noattach/Makefile b/mail/noattach/Makefile
index 271f8837d51a..c40667b5c231 100644
--- a/mail/noattach/Makefile
+++ b/mail/noattach/Makefile
@@ -46,10 +46,12 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/noattach.8 ${PREFIX}/man/man8/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${MKDIR} ${EXAMPLESDIR}
.for i in ${DOCSFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
.for i in ${SAMPLEFILES}
${INSTALL_DATA} ${WRKSRC}/examples/${i} ${EXAMPLESDIR}/
.endfor
diff --git a/mail/noattach/pkg-plist b/mail/noattach/pkg-plist
index eedb36c32c16..20ad03d18dae 100644
--- a/mail/noattach/pkg-plist
+++ b/mail/noattach/pkg-plist
@@ -9,7 +9,7 @@ etc/noattach.patterns-dist
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%%%EXAMPLESDIR%%/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/noattach.patterns
-%%PORTDOCS%%%%EXAMPLESDIR%%/noattach.patterns.johncon
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/noattach.patterns
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/noattach.patterns.johncon
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
diff --git a/mail/sma/Makefile b/mail/sma/Makefile
index 588c81c44d4d..1bc83fa61379 100644
--- a/mail/sma/Makefile
+++ b/mail/sma/Makefile
@@ -30,10 +30,12 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/sma.8 ${PREFIX}/man/man8/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${MKDIR} ${EXAMPLESDIR}
.for i in ${DOCSFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
.for i in ${SAMPLEFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}/
.endfor
diff --git a/mail/sma/pkg-plist b/mail/sma/pkg-plist
index fc56848077c9..b94b01f9d557 100644
--- a/mail/sma/pkg-plist
+++ b/mail/sma/pkg-plist
@@ -5,5 +5,5 @@ bin/sma
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%%%EXAMPLESDIR%%/sma.conf
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sma.conf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%