summaryrefslogtreecommitdiff
path: root/net-im/icb
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-11-13 15:18:30 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-11-13 15:18:30 +0000
commit6995b67a4544b5a323af962d94812e15357d915d (patch)
treeea3eb33d6b573063b9e358ec07e05db048acd211 /net-im/icb
parent- Add stage support (diff)
- Convert to USES+=tk
- STAGE-clean
Notes
Notes: svn path=/head/; revision=333699
Diffstat (limited to 'net-im/icb')
-rw-r--r--net-im/icb/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/net-im/icb/Makefile b/net-im/icb/Makefile
index 0e54a03aed2c..d09b7489fc43 100644
--- a/net-im/icb/Makefile
+++ b/net-im/icb/Makefile
@@ -12,9 +12,7 @@ DISTNAME= c${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Internet CB - a mostly-defunct chat client
-USES= readline
-USE_TK_BUILD= yes
-USE_TK= yes
+USES= readline tk
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclinclude=${TCL_INCLUDEDIR} \
--with-tcllib=${LOCALBASE}/lib
@@ -23,17 +21,16 @@ PORTEXAMPLES= bartender confuse echofunctions sample.icbrc
PLIST_FILES= bin/icb %%DATADIR%%/icbserverdb
PLIST_DIRS= %%DATADIR%%
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${STAGEDIR}${DATADIR}
.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif