1999-12-25 21:51:44 +00:00
|
|
|
# New ports collection makefile for: centericq
|
|
|
|
# Date created: 25 December 1999
|
|
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= centericq
|
|
|
|
PORTVERSION= 2.0.0
|
1999-12-25 21:51:44 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://konst.org.ua/download/
|
2000-04-09 18:14:07 +00:00
|
|
|
DISTNAME= center-${PORTVERSION}
|
1999-12-25 21:51:44 +00:00
|
|
|
|
2000-06-20 21:45:58 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-12-25 21:51:44 +00:00
|
|
|
|
2000-01-08 09:26:51 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 400010
|
|
|
|
LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
|
2000-01-08 22:00:24 +00:00
|
|
|
CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include\
|
|
|
|
-I/usr/include
|
2000-01-08 09:26:51 +00:00
|
|
|
.endif
|
|
|
|
|
1999-12-25 21:51:44 +00:00
|
|
|
WRKSRC= ${WRKDIR}/center
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's:__PREFIX__:${PREFIX}:' ${WRKSRC}/centerICQ.cc
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@(cd ${WRKDIR}/ktools/src; ${SETENV} CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" ${GMAKE} ${MAKE_ARGS} )
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/center ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/share/center
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sound/* ${PREFIX}/share/center
|
|
|
|
|
2000-01-08 09:26:51 +00:00
|
|
|
.include <bsd.port.post.mk>
|