blob: 3e9f46d4e10e5d4e5775278c90f8a40cd9887d47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Created by: rene
# $FreeBSD$
PORTNAME= fuse-utils
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF/fuse-emulator/${PORTNAME}/${PORTVERSION}
MAINTAINER= rene@FreeBSD.org
COMMENT= Utilities from the Free Unix Spectrum Emulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pkgconfig
LIB_DEPENDS= libspectrum.so:${PORTSDIR}/emulators/libspectrum
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libspectrum-prefix=${LOCALBASE} \
--with-local-prefix=${LOCALBASE}
OPTIONS_DEFINE= AUDIOTOOLS DOCS
OPTIONS_DEFAULT= AUDIOTOOLS
AUDIOTOOLS_DESC= Build audio <-> tape utilities
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAUDIOTOOLS}
CONFIGURE_ARGS+=--with-audiofile
LIB_DEPENDS+= libaudiofile.so:${PORTSDIR}/audio/libaudiofile
PLIST_SUB= AUDIOTOOLS=""
.else
CONFIGURE_ARGS+=--without-audiofile
PLIST_SUB= AUDIOTOOLS="@comment "
.endif
# FIXME no way to specify ffmpeg1 paths to configure script
#.if ${PORT_OPTIONS:MFFMPEG}
#LIB_DEPENDS+= libavformat1.so:${PORTSDIR}/multimedia/ffmpeg1
#CONFIGURE_ARGS+=--with-ffmpeg
#.else
CONFIGURE_ARGS+=--without-ffmpeg
#.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|