svn commit: r358063 - head/irc/ctrlproxy

Vanilla I. Shu vanilla at FreeBSD.org
Tue Jun 17 01:48:21 UTC 2014


Author: vanilla
Date: Tue Jun 17 01:48:20 2014
New Revision: 358063
URL: http://svnweb.freebsd.org/changeset/ports/358063
QAT: https://qat.redports.org/buildarchive/r358063/

Log:
  1: Stagify.
  2: strip binary.
  
  Approved by:	portmgr@

Modified:
  head/irc/ctrlproxy/Makefile
  head/irc/ctrlproxy/pkg-plist

Modified: head/irc/ctrlproxy/Makefile
==============================================================================
--- head/irc/ctrlproxy/Makefile	Tue Jun 17 00:57:08 2014	(r358062)
+++ head/irc/ctrlproxy/Makefile	Tue Jun 17 01:48:20 2014	(r358063)
@@ -11,31 +11,31 @@ MASTER_SITES=	http://launchpadlibrarian.
 MAINTAINER=	ashish at FreeBSD.org
 COMMENT=	Flexible IRC proxy
 
-LIB_DEPENDS=	gnutls.26:${PORTSDIR}/security/gnutls
+LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls
 
 USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 USES=		pkgconfig gmake
 
-MAN1=		ctrlproxy.1
-MAN5=		ctrlproxy_config.5
-
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy_config.5 ${MANPREFIX}/man/man5
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/help.txt ${DATADIR}/help.txt
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ctrlproxy
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ctrlproxy-admin
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/linestack-cmd
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ctrlproxyd
+	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/ctrlproxy_config.5 ${STAGEDIR}${MANPREFIX}/man/man5
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/help.txt ${STAGEDIR}${DATADIR}/help.txt
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in AUTHORS HACKING NEWS README
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/doc/user-guide.html ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/user-guide.html ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/irc/ctrlproxy/pkg-plist
==============================================================================
--- head/irc/ctrlproxy/pkg-plist	Tue Jun 17 00:57:08 2014	(r358062)
+++ head/irc/ctrlproxy/pkg-plist	Tue Jun 17 01:48:20 2014	(r358063)
@@ -5,6 +5,8 @@ sbin/ctrlproxyd
 libdata/pkgconfig/ctrlproxy.pc
 etc/ctrlproxy/motd
 etc/ctrlproxy/config
+man/man1/ctrlproxy.1.gz
+man/man5/ctrlproxy_config.5.gz
 %%DATADIR%%/help.txt
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/HACKING


More information about the svn-ports-head mailing list