freebsd-ports/irc/xchat-fish/Makefile
Mathieu Arnold eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/irc/xchat-fish/Makefile,v 1.1 2006/10/04 22:30:07 ahze Exp $
PORTNAME= fish
DISTVERSION= 0.98
PORTREVISION= 4
CATEGORIES= irc security
MASTER_SITES= http://wirehack7.opsys.de/FiSH/xchat/ \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
PKGNAMEPREFIX= xchat-
DISTNAME= FiSH-XChat.v${DISTVERSION}-source
MAINTAINER= ports@FreeBSD.org
COMMENT= Encryption plugin for XChat
BUILD_DEPENDS= ${LOCALBASE}/lib/libmiracl.a:math/miracl
RUN_DEPENDS= xchat:irc/xchat
USES= zip dos2unix
NO_WRKSUBDIR= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
CCFLAGS+= -Wall -O2 -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= CCFLAGS="${CCFLAGS}"
PLIST_FILES= lib/xchat/plugins/xfish.so
PORTDOCS= FiSH-xchat.txt \
FiSH-xchat_History.txt
OPTIONS_DEFINE= DOCS
post-patch:
${RM} ${WRKSRC}/mir*
${CP} -pf ${FILESDIR}/Makefile ${WRKSRC}/
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/xchat/plugins
${INSTALL_PROGRAM} ${WRKSRC}/xfish.so \
${STAGEDIR}${PREFIX}/lib/xchat/plugins/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>