1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Enable staging

- Add LICENSE
This commit is contained in:
Diane Bruce 2013-12-30 23:37:14 +00:00
parent 1989a2e336
commit 2aae30f5f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338196
2 changed files with 12 additions and 17 deletions

View File

@ -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>

View File

@ -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