diff options
author | Diane Bruce <db@FreeBSD.org> | 2013-12-30 23:37:14 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2013-12-30 23:37:14 +0000 |
commit | 2aae30f5f0fb14471f433e92b4473434505f393e (patch) | |
tree | b8bbe33a448ea5ca207c831148c8efda14c82ed3 /irc/cwirc | |
parent | 1989a2e33685587c8b776e3889c7012b9d23361f (diff) | |
download | ports-2aae30f5f0fb14471f433e92b4473434505f393e.tar.gz ports-2aae30f5f0fb14471f433e92b4473434505f393e.zip |
- Enable staging
- Add LICENSE
Notes
Notes:
svn path=/head/; revision=338196
Diffstat (limited to 'irc/cwirc')
-rw-r--r-- | irc/cwirc/Makefile | 23 | ||||
-rw-r--r-- | irc/cwirc/files/Makefile | 6 |
2 files changed, 12 insertions, 17 deletions
diff --git a/irc/cwirc/Makefile b/irc/cwirc/Makefile index 873e44cbbe00..7f5161d82bad 100644 --- a/irc/cwirc/Makefile +++ b/irc/cwirc/Makefile @@ -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> diff --git a/irc/cwirc/files/Makefile b/irc/cwirc/files/Makefile index 2fa9fdd3b701..f332072e451d 100644 --- a/irc/cwirc/files/Makefile +++ b/irc/cwirc/files/Makefile @@ -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 |