aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-13 11:31:14 +0800
committerleeym <leeym@FreeBSD.org>2004-10-13 11:31:14 +0800
commitcb98cb1723a3bd20c716dbdfc5db711f54090a37 (patch)
treeed201b70d6a86d056688af194e6eaa6a7795d8f9 /chinese
parentcf0e57bfa79f239b3f360cfc6c4bfb52b7440fbb (diff)
downloadfreebsd-ports-gnome-cb98cb1723a3bd20c716dbdfc5db711f54090a37.tar.gz
freebsd-ports-gnome-cb98cb1723a3bd20c716dbdfc5db711f54090a37.tar.zst
freebsd-ports-gnome-cb98cb1723a3bd20c716dbdfc5db711f54090a37.zip
- 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
Diffstat (limited to 'chinese')
-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