1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/chinese/BBMan/Makefile
Pav Lucistnik d750615763 - Use features of bsd.wx.mk, especially USE_WX
PR:		ports/101613
Submitted by:	alepulver
2006-12-01 07:39:02 +00:00

43 lines
902 B
Makefile

# New ports collection makefile for: zh-BBMan
# Date created: 24 July 2004
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#
PORTNAME= BBMan
PORTVERSION= 1.7.7.5
PORTREVISION= 3
CATEGORIES= chinese net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
DISTNAME= ${PORTNAME}-src-v${PORTVERSION:S,.,-,g}
MAINTAINER= ports@FreeBSD.org
COMMENT= BBMan is a BBS client for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_ZIP= yes
USE_WX= 2.4
PLIST_FILES= bin/BBMan
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
USE_GCC= 3.3
.endif
.if ${ARCH} == ia64
BROKEN= Hard-codes reference to libc_r
.endif
do-build:
cd ${WRKSRC} && ${CXX} main.cpp `${WX_CONFIG} --libs --cxxflags` -I${LOCALBASE}/include ${CFLAGS} -o BBMan
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/BBMan ${TARGETDIR}/bin/BBMan
.include <bsd.port.post.mk>