aboutsummaryrefslogtreecommitdiff
path: root/chinese/BBMan
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-10-13 03:31:14 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-10-13 03:31:14 +0000
commitab6cda7917e12f7ccfeba6d1d251487280f2a377 (patch)
tree2ac06d26dacb35b269a569159e156271cf171062 /chinese/BBMan
parentcb40e7e02687205481acc4168e7112356006a6a5 (diff)
downloadports-ab6cda7917e12f7ccfeba6d1d251487280f2a377.tar.gz
ports-ab6cda7917e12f7ccfeba6d1d251487280f2a377.zip
Notes
Diffstat (limited to 'chinese/BBMan')
-rw-r--r--chinese/BBMan/Makefile19
-rw-r--r--chinese/BBMan/pkg-descr2
-rw-r--r--chinese/BBMan/pkg-plist1
3 files changed, 9 insertions, 13 deletions
diff --git a/chinese/BBMan/Makefile b/chinese/BBMan/Makefile
index 47a57f7ee25e..febcc43f0219 100644
--- a/chinese/BBMan/Makefile
+++ b/chinese/BBMan/Makefile
@@ -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>
diff --git a/chinese/BBMan/pkg-descr b/chinese/BBMan/pkg-descr
index 2d1c96a7fd4e..f51780ab348c 100644
--- a/chinese/BBMan/pkg-descr
+++ b/chinese/BBMan/pkg-descr
@@ -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/
diff --git a/chinese/BBMan/pkg-plist b/chinese/BBMan/pkg-plist
deleted file mode 100644
index 9ecef875e240..000000000000
--- a/chinese/BBMan/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/BBMan