aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2014-01-28 05:30:25 +0800
committermadpilot <madpilot@FreeBSD.org>2014-01-28 05:30:25 +0800
commitdc00b1dde13cca65db5f1cc6956b0e630e95bf0b (patch)
treea6abef20cea2526c92dfaee99ed18326506b1a48 /irc
parentde61a3bff4d24f67e2aadcdb35ba3e4c6cb82404 (diff)
downloadfreebsd-ports-graphics-dc00b1dde13cca65db5f1cc6956b0e630e95bf0b.tar.gz
freebsd-ports-graphics-dc00b1dde13cca65db5f1cc6956b0e630e95bf0b.tar.zst
freebsd-ports-graphics-dc00b1dde13cca65db5f1cc6956b0e630e95bf0b.zip
Convert to staging
Approved by: jlaffaye (maintainer)
Diffstat (limited to 'irc')
-rw-r--r--irc/libircclient/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/irc/libircclient/Makefile b/irc/libircclient/Makefile
index ccdf30e9e7f..d627e95106a 100644
--- a/irc/libircclient/Makefile
+++ b/irc/libircclient/Makefile
@@ -15,7 +15,6 @@ OPTIONS_DEFAULT= OPENSSL
BUILD_WRKSRC= ${WRKSRC}/src
GNU_CONFIGURE= yes
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
@@ -28,21 +27,19 @@ CONFIGURE_ARGS+= --enable-ipv6
.endif
do-install:
- @${INSTALL_DATA} ${WRKSRC}/include/libircclient.h ${PREFIX}/include
- @${INSTALL_DATA} ${WRKSRC}/include/libirc_errors.h ${PREFIX}/include
- @${INSTALL_DATA} ${WRKSRC}/include/libirc_events.h ${PREFIX}/include
- @${INSTALL_DATA} ${WRKSRC}/include/libirc_options.h ${PREFIX}/include
- @${INSTALL_DATA} ${WRKSRC}/include/libirc_rfcnumeric.h ${PREFIX}/include
- @${INSTALL_DATA} ${WRKSRC}/src/libircclient.a ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/include/libircclient.h ${STAGEDIR}${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/include/libirc_errors.h ${STAGEDIR}${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/include/libirc_events.h ${STAGEDIR}${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/include/libirc_options.h ${STAGEDIR}${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/include/libirc_rfcnumeric.h ${STAGEDIR}${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/src/libircclient.a ${STAGEDIR}${PREFIX}/lib
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
- @(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
+ (cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
- @${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
- @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>