mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- add USE_GCC=3.3 and unbreak
- respect CXX and CFLAGS - replace pkg-plist with PLIST_FILES - update WWW in pkg-descr - cosmetic fixes PR: 72214 Submitted by: leeym
This commit is contained in:
parent
cb40e7e026
commit
ab6cda7917
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119148
@ -9,29 +9,26 @@ PORTNAME= BBMan
|
||||
PORTVERSION= 1.7.7.5
|
||||
CATEGORIES= chinese net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= bbman
|
||||
DISTNAME= BBMan-src-v1-7-7-5
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
||||
DISTNAME= ${PORTNAME}-src-v${PORTVERSION:S,.,-,g}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
MAINTAINER= ports@freebsd.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= BBMan is a BBS client for X Window System
|
||||
|
||||
LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
|
||||
|
||||
USE_ZIP= yes
|
||||
WRKSRC= ${WRKDIR}/BBMan
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USE_X_PREFIX= yes
|
||||
USE_GCC= 3.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
||||
.endif
|
||||
PLIST_FULES= bin/BBMan
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && g++ main.cpp `wxgtk2-2.4-config --libs --cxxflags` -I${LOCALBASE}/include -O2 -o BBMan
|
||||
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>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
BBMam is a BBS client for X Window System.
|
||||
|
||||
WWW: http://nccu.edu.tw/92753008/BBMan/
|
||||
WWW: http://bbman.sourceforge.net/
|
||||
|
@ -1 +0,0 @@
|
||||
bin/BBMan
|
Loading…
Reference in New Issue
Block a user