Lines 7-33
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= libggz |
9 |
PORTNAME= libggz |
10 |
PORTVERSION= 0.0.8 |
10 |
PORTVERSION= 0.0.9 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= games |
11 |
CATEGORIES= games |
13 |
MASTER_SITES= http://ggzgamingzone.org/pub/ggz/%SUBDIR%/ |
12 |
MASTER_SITES= http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/ |
14 |
MASTER_SITE_SUBDIR= ${PORTVERSION} |
13 |
MASTER_SITE_SUBDIR= ${PORTVERSION} |
15 |
|
14 |
|
16 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= The GGZ Gaming Zone - Base Library |
16 |
COMMENT= The GGZ Gaming Zone - Base Library |
18 |
|
17 |
|
19 |
#LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt |
|
|
20 |
|
18 |
|
21 |
USE_GNOME= gnomehack gnometarget |
19 |
USE_GNOME= gnomehack gnometarget |
22 |
USE_OPENSSL= yes |
20 |
USE_LIBTOOL_VER= 15 |
23 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
22 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
25 |
CONFIGURE_ARGS= --disable-debug --with-tls |
23 |
CONFIGURE_ARGS= --disable-debug |
26 |
INSTALLS_SHLIB= yes |
24 |
INSTALLS_SHLIB= yes |
27 |
|
25 |
|
28 |
MAN3= ggz.h.3 |
26 |
MAN3= ggz.h.3 |
29 |
|
27 |
|
30 |
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
28 |
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
31 |
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
29 |
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
|
|
30 |
|
31 |
.if defined(WITH_GNUTLS) |
32 |
LIB_DEPENDS+= gnutls.12:${PORTSDIR}/security/gnutls |
33 |
CONFIGURE_ARGS+= --with-tls=GnuTLS |
34 |
.else |
35 |
USE_OPENSSL= yes |
36 |
CONFIGURE_ARGS+= --with-tls=OpenSSL |
37 |
.endif |
32 |
|
38 |
|
33 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |