svn commit: r338196 - in head/irc/cwirc: . files
Diane Bruce
db at FreeBSD.org
Mon Dec 30 23:37:15 UTC 2013
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 at 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
More information about the svn-ports-head
mailing list