Date: Mon, 30 Dec 2013 23:37:15 +0000 (UTC) From: Diane Bruce <db@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338196 - in head/irc/cwirc: . files Message-ID: <201312302337.rBUNbFPs080449@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: db Date: Mon Dec 30 23:37:14 2013 New Revision: 338196 URL: http://svnweb.freebsd.org/changeset/ports/338196 Log: - Enable staging - Add LICENSE Modified: head/irc/cwirc/Makefile (contents, props changed) head/irc/cwirc/files/Makefile (contents, props changed) Modified: head/irc/cwirc/Makefile ============================================================================== --- head/irc/cwirc/Makefile Mon Dec 30 23:13:43 2013 (r338195) +++ head/irc/cwirc/Makefile Mon Dec 30 23:37:14 2013 (r338196) @@ -6,36 +6,31 @@ PORTVERSION= 2.0.0 PORTREVISION= 4 CATEGORIES= irc comms hamradio MASTER_SITES= http://users.skynet.be/ppc/cwirc/download/ \ - http://www.db.net/downloads/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= db MAINTAINER= db@FreeBSD.org COMMENT= X-Chat Morse plugin +LICENSE= GPLv2 + BUILD_DEPENDS= xchat:${PORTSDIR}/irc/xchat USES= pkgconfig -NO_STAGE= yes post-patch: - ${CP} ${FILESDIR}/Makefile ${WRKSRC} - ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ - ${WRKSRC}/Makefile + @${CP} ${FILESDIR}/Makefile ${WRKSRC} + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ + -e 's|%%STAGEDIR%%|${STAGEDIR}|' ${WRKSRC}/Makefile post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in COPYING LISEZMOI README RELEASE_NOTES - @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor - ${MKDIR} ${DOCSDIR}/schematics + @${MKDIR} ${STAGEDIR}${DOCSDIR}/schematics .for f in cw_oscillator.jpg rs232_key_connection.jpg - @${INSTALL_DATA} ${WRKSRC}/schematics/$f ${DOCSDIR}/schematics + @${INSTALL_DATA} ${WRKSRC}/schematics/$f ${STAGEDIR}${DOCSDIR}/schematics .endfor - @${ECHO} "" - @${ECHO} "cwirc docs installed in ${DOCSDIR}" - @${ECHO} "" -.endif .include <bsd.port.mk> Modified: head/irc/cwirc/files/Makefile ============================================================================== --- head/irc/cwirc/files/Makefile Mon Dec 30 23:13:43 2013 (r338195) +++ head/irc/cwirc/files/Makefile Mon Dec 30 23:37:14 2013 (r338196) @@ -17,9 +17,9 @@ # # $FreeBSD$ TARGET_OS=FREEBSD -PLUGIN_INSTALL_DIRECTORY=%%PREFIX%%/lib/xchat/plugins -FRONTEND_INSTALL_DIRECTORY=%%PREFIX%%/bin -CWIRC_EXTENSIONS_DIRECTORY=%%PREFIX%%/share/cwirc/extensions +PLUGIN_INSTALL_DIRECTORY=%%STAGEDIR%%%%PREFIX%%/lib/xchat/plugins +FRONTEND_INSTALL_DIRECTORY=%%STAGEDIR%%%%PREFIX%%/bin +CWIRC_EXTENSIONS_DIRECTORY=%%STAGEDIR%%%%PREFIX%%/share/cwirc/extensions #EXTRA_LDFLAGS= # Use these with Debian GNU/Linux for example
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312302337.rBUNbFPs080449>