Lines 6-35
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= libspectrum |
8 |
PORTNAME= libspectrum |
9 |
PORTVERSION= 0.3.0.1 |
9 |
PORTVERSION= 0.4.0 |
10 |
CATEGORIES= emulators devel |
10 |
CATEGORIES= emulators devel |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= SF |
12 |
MASTER_SITE_SUBDIR= fuse-emulator |
12 |
MASTER_SITE_SUBDIR= fuse-emulator |
13 |
|
13 |
|
14 |
MAINTAINER= kemm@in-line.ru |
14 |
MAINTAINER= kemm@in-line.ru |
15 |
COMMENT= Handling of ZX-Spectrum emulator files formats |
15 |
COMMENT= Handling of ZX-Spectrum emulator files formats |
16 |
|
16 |
|
17 |
USE_AUTOTOOLS= libtool:15 |
17 |
USE_GMAKE= yes |
18 |
USE_PERL5_BUILD= yes |
18 |
USE_GNOME= glib20 |
19 |
WANT_GNOME= yes |
|
|
20 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
21 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
22 |
MAN3= libspectrum.3 |
21 |
MAN3= libspectrum.3 |
23 |
|
22 |
|
24 |
OPTIONS= GLIB "Use GLib" on \ |
23 |
OPTIONS= AUDIOFILE "Use libaudiofile" on \ |
25 |
GCRYPT "Use libgcrypt" off |
24 |
GCRYPT "Use libgcrypt" off |
26 |
|
25 |
|
27 |
.include <bsd.port.pre.mk> |
26 |
.include <bsd.port.pre.mk> |
28 |
|
27 |
|
29 |
.if !defined(WITHOUT_GLIB) |
28 |
.if !defined(WITHOUT_AUDIOFILE) |
30 |
USE_GNOME= glib20 |
29 |
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile |
31 |
.else |
30 |
.else |
32 |
CONFIGURE_ARGS+= --without-glib |
31 |
CONFIGURE_ARGS+=--without-libaudiofile |
33 |
.endif |
32 |
.endif |
34 |
|
33 |
|
35 |
.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h) |
34 |
.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h) |