aboutsummaryrefslogtreecommitdiffstats
path: root/irc/iroffer
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 /irc/iroffer
parent558098ac9b30dc5c9e5d00b9ab8d9395ee71992a (diff)
downloadfreebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.gz
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.zst
freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.zip
- use PORTEXAMPLES
Diffstat (limited to 'irc/iroffer')
-rw-r--r--irc/iroffer/Makefile5
-rw-r--r--irc/iroffer/pkg-plist8
2 files changed, 8 insertions, 5 deletions
diff --git a/irc/iroffer/Makefile b/irc/iroffer/Makefile
index 2e57731e11e6..a9bc615c5251 100644
--- a/irc/iroffer/Makefile
+++ b/irc/iroffer/Makefile
@@ -23,9 +23,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
+ ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR}/
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dynip.sh ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/iroffer.cron ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/sample.config ${EXAMPLESDIR}/
diff --git a/irc/iroffer/pkg-plist b/irc/iroffer/pkg-plist
index 9b490539f87b..dcafc535c23e 100644
--- a/irc/iroffer/pkg-plist
+++ b/irc/iroffer/pkg-plist
@@ -2,8 +2,8 @@ bin/convertxdccfile
bin/iroffer
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/WHATSNEW
-%%PORTDOCS%%%%EXAMPLESDIR%%/dynip.sh
-%%PORTDOCS%%%%EXAMPLESDIR%%/iroffer.cron
-%%PORTDOCS%%%%EXAMPLESDIR%%/sample.config
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynip.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iroffer.cron
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.config
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%