blob: a265807ac062e826aab7d18f3682c79bbe26aa6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: centericq
# Version required: 2.0.0
# Date created: 25 December 1999
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= center-2.0.0
CATEGORIES= net
MASTER_SITES= http://konst.org.ua/download/
MAINTAINER= cpiazza@FreeBSD.org
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
.endif
WRKSRC= ${WRKDIR}/center
USE_GMAKE= yes
CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include -I/usr/include
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
.include <bsd.port.post.mk>
|