aboutsummaryrefslogtreecommitdiff
path: root/irc/xchat-mircryption
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 /irc/xchat-mircryption
parent0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff)
- use PORTEXAMPLES
Notes
Notes: svn path=/head/; revision=213955
Diffstat (limited to 'irc/xchat-mircryption')
-rw-r--r--irc/xchat-mircryption/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/irc/xchat-mircryption/Makefile b/irc/xchat-mircryption/Makefile
index ea57f99b3d48..bc0f57d285a6 100644
--- a/irc/xchat-mircryption/Makefile
+++ b/irc/xchat-mircryption/Makefile
@@ -29,14 +29,10 @@ WRKSRC= ${WRKDIR}/src/xchat/
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
-PLIST_DIRS= \
- %%EXAMPLESDIR%%
-PLIST_FILES= \
- lib/xchat/plugins/mircryption.so \
- %%EXAMPLESDIR%%/mcps_masterkey_on_start.pl
+PLIST_FILES= lib/xchat/plugins/mircryption.so
-PORTDOCS= \
- README.txt
+PORTDOCS= README.txt
+PORTEXAMPLES= mcps_masterkey_on_start.pl
post-patch:
# \r\n -> \n
@@ -71,9 +67,11 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mircryption.so \
${PREFIX}/lib/xchat/plugins
# script
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_SCRIPT} \
${WRKSRC}/extras/mcps_masterkey_on_start.pl \
${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>