aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-18 19:56:23 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-18 19:56:23 +0800
commitf59890880d802d6725dbcd5ccea1e530c00f7520 (patch)
treec142de109a8a6e502ad9da82eb0cb719d19249f2
parent9d6e543ed2ab227f62f96e4a5170e492a5c74bb1 (diff)
downloadfreebsd-ports-gnome-f59890880d802d6725dbcd5ccea1e530c00f7520.tar.gz
freebsd-ports-gnome-f59890880d802d6725dbcd5ccea1e530c00f7520.tar.zst
freebsd-ports-gnome-f59890880d802d6725dbcd5ccea1e530c00f7520.zip
Support staging.
-rw-r--r--irc/miau/Makefile8
-rw-r--r--irc/miau/pkg-plist1
2 files changed, 3 insertions, 6 deletions
diff --git a/irc/miau/Makefile b/irc/miau/Makefile
index ea0bd7069ac4..33ff14a22a5e 100644
--- a/irc/miau/Makefile
+++ b/irc/miau/Makefile
@@ -14,7 +14,6 @@ USES= iconv
GNU_CONFIGURE= yes
INFO= miau
-MAN1= miau.1
CONFIGURE_ARGS= --enable-dccbounce \
--enable-automode \
@@ -35,15 +34,12 @@ CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS+= --enable-ipv6
.endif
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,\$$datadir/doc/miau/examples,${EXAMPLESDIR},g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-.if !defined(NOPORTDOCS)
post-install:
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/irc/miau/pkg-plist b/irc/miau/pkg-plist
index f48ce486a357..ef62ddff20f4 100644
--- a/irc/miau/pkg-plist
+++ b/irc/miau/pkg-plist
@@ -1,5 +1,6 @@
bin/miau
bin/miau-check
+man/man1/miau.1.gz
%%EXAMPLESDIR%%/miaurc
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog