aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-18 20:07:27 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-18 20:07:27 +0800
commit4494390522ede845dc129b4e340e23dda11dcd98 (patch)
tree52464411dbaa03b9682a44688f167c5e07722d8e /irc
parentc036fe0b0fbb0a22f7b8297400c3fa429b7e4ff6 (diff)
downloadfreebsd-ports-gnome-4494390522ede845dc129b4e340e23dda11dcd98.tar.gz
freebsd-ports-gnome-4494390522ede845dc129b4e340e23dda11dcd98.tar.zst
freebsd-ports-gnome-4494390522ede845dc129b4e340e23dda11dcd98.zip
Support staging
Diffstat (limited to 'irc')
-rw-r--r--irc/ii/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/irc/ii/Makefile b/irc/ii/Makefile
index c4d6d2a03a53..4a413306933c 100644
--- a/irc/ii/Makefile
+++ b/irc/ii/Makefile
@@ -12,30 +12,21 @@ COMMENT= Minimalist FIFO and filesystem-based IRC client
LICENSE= MIT
-MAN1= ${PORTNAME}.1
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/ii man/man1/ii.1.gz
PORTDOCS= CHANGES FAQ README
PORTEXAMPLES= query.sh
.if !defined(.PARSEDIR)
MAKE_ARGS= -E CC
.endif
-NO_STAGE= yes
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}
-.endif
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>