freebsd-ports/chinese/BBMan/Makefile
Mark Linimon 8cf8875aef Reset bouncing maintainer address. These ports are now available for
adoption.

Note that I have left the maintainer's own ftp site as a MASTERSITE
because it still appears to be active (for now, anyways).

Hat:	portmgr
2005-07-25 21:58:10 +00:00

46 lines
1014 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= 2
CATEGORIES= chinese net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
DISTNAME= ${PORTNAME}-src-v${PORTVERSION:S,.,-,g}
EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= BBMan is a BBS client for X Window System
LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_GCC= 3.3
PLIST_FILES= bin/BBMan
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not link on FreeBSD 4.x"
.endif
.if ${ARCH} == ia64
BROKEN= "Hard-codes reference to libc_r"
.endif
do-build:
cd ${WRKSRC} && ${CXX} main.cpp `wxgtk2-2.4-config --libs --cxxflags` -I${LOCALBASE}/include ${CFLAGS} -o BBMan
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/BBMan ${PREFIX}/bin/BBMan
.include <bsd.port.post.mk>