View | Details | Raw Unified | Return to bug 185691
Collapse All | Expand All

(-)net/sobby/Makefile (-14 / +7 lines)
Lines 7-36 Link Here
7
MASTER_SITES=	http://releases.0x539.de/sobby/
7
MASTER_SITES=	http://releases.0x539.de/sobby/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	A standalone obby server
10
COMMENT=	Standalone obby server
11
11
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
13
15
LIB_DEPENDS=	sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
14
LIB_DEPENDS=	libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
16
		obby-0.4.1:${PORTSDIR}/devel/obby \
15
		libobby-0.4.so:${PORTSDIR}/devel/obby \
17
		net6-1.3.0:${PORTSDIR}/net/net6 \
16
		libnet6-1.3.so:${PORTSDIR}/net/net6 \
18
		xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \
17
		libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26
19
		glibmm-2.4.1:${PORTSDIR}/devel/glibmm
20
18
21
USES=		pkgconfig
19
USES=		pkgconfig
20
USE_GNOME=	glibmm
22
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--disable-zeroconf
22
CONFIGURE_ARGS=	--disable-zeroconf
24
23
25
MAN1=		${PORTNAME}.1
26
PLIST_FILES=	bin/${PORTNAME}
27
28
CPPFLAGS+=	-I${LOCALBASE}/include
24
CPPFLAGS+=	-I${LOCALBASE}/include
29
LDFLAGS+=	-L${LOCALBASE}/lib
25
LDFLAGS+=	-L${LOCALBASE}/lib
30
26
31
NO_STAGE=	yes
27
PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
32
do-install:
33
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
34
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
35
28
36
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)net/sobby/files/patch-inc__config.hpp (+62 lines)
Line 0 Link Here
1
--- inc/config.hpp.orig
2
+++ inc/config.hpp
3
@@ -30,6 +30,30 @@
4
 #include <libxml++/nodes/element.h>
5
 #include <libxml++/nodes/textnode.h>
6
 
7
+namespace serialise
8
+{
9
+
10
+template<>
11
+class default_context_to<Glib::ustring>: public context_base_to<Glib::ustring>
12
+{
13
+public:
14
+	typedef Glib::ustring data_type;
15
+
16
+	virtual std::string to_string(const data_type& from) const;
17
+};
18
+
19
+template<>
20
+class default_context_from<Glib::ustring>:
21
+	public context_base_from<Glib::ustring>
22
+{
23
+public:
24
+	typedef Glib::ustring data_type;
25
+
26
+	virtual data_type from_string(const std::string& from) const;
27
+};
28
+
29
+} // namespace serialise
30
+
31
 namespace Sobby
32
 {
33
 
34
@@ -434,28 +458,4 @@
35
 
36
 } // namespace Sobby
37
 
38
-namespace serialise
39
-{
40
-
41
-template<>
42
-class default_context_to<Glib::ustring>: public context_base_to<Glib::ustring>
43
-{
44
-public:
45
-	typedef Glib::ustring data_type;
46
-
47
-	virtual std::string to_string(const data_type& from) const;
48
-};
49
-
50
-template<>
51
-class default_context_from<Glib::ustring>:
52
-	public context_base_from<Glib::ustring>
53
-{
54
-public:
55
-	typedef Glib::ustring data_type;
56
-
57
-	virtual data_type from_string(const std::string& from) const;
58
-};
59
-
60
-} // namespace serialise
61
-
62
 #endif // _SOBBY_CONFIG_HPP_

Return to bug 185691