aboutsummaryrefslogtreecommitdiffstats
path: root/irc/xchat-mircryption
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/xchat-mircryption
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/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>