aboutsummaryrefslogtreecommitdiff
path: root/mail/sma
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
commit79efb30db9018f7dc0190848f0c3abf1060b4336 (patch)
tree9fd78abdee564742abce31a5d46f1e89b4cbc0c1 /mail/sma
parent0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff)
downloadports-79efb30db9018f7dc0190848f0c3abf1060b4336.tar.gz
ports-79efb30db9018f7dc0190848f0c3abf1060b4336.zip
- use PORTEXAMPLES
Notes
Notes: svn path=/head/; revision=213955
Diffstat (limited to 'mail/sma')
-rw-r--r--mail/sma/Makefile4
-rw-r--r--mail/sma/pkg-plist4
2 files changed, 5 insertions, 3 deletions
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%%