aboutsummaryrefslogtreecommitdiffstats
path: root/mail/noattach
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/noattach
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/noattach')
-rw-r--r--mail/noattach/Makefile4
-rw-r--r--mail/noattach/pkg-plist8
2 files changed, 7 insertions, 5 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%%