blob: ce3c407b5f8addfba9b2672473da4da2209045f1 (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# New ports collection makefile for: orange
# Date Created: January 2005
# Whom: Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
#
PORTNAME= liborange
PORTVERSION= 0.3.2
CATEGORIES= archivers
MASTER_SITES= SF
MASTER_SITE_SUBDIR= synce
MAINTAINER= ports@logvinov.com
COMMENT= Library to extract CAB files from self-extracting installers
OPTIONS= LIBSYNCE "Build with libsynce support" on \
LIBDYNAMITE "Build with libdynamite support" on \
LIBUNSHIELD "Build with libunshield support" on \
INNO "Build with expermential Inno Setup support" off \
VISE "Build with expermential VISE support" off \
MSI "Build with expermential MSI support" off
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GNOME= gnomehack gnometarget
USE_ICONV= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
MAN1= orange.1
.include <bsd.port.pre.mk>
.if !defined(WITH_LIBSYNCE)
CONFIGURE_ARGS+= --without-libsynce
.else
LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE}
.endif
.if !defined(WITH_LIBDYNAMITE)
CONFIGURE_ARGS+= --without-libdynamite
.else
LIB_DEPENDS+= dynamite.0:${PORTSDIR}/archivers/libdynamite
CONFIGURE_ARGS+= --with-libdynamite=${LOCALBASE}
.endif
.if !defined(WITH_LIBUNSHIELD)
CONFIGURE_ARGS+= --without-libunshield
.else
LIB_DEPENDS+= unshield.0:${PORTSDIR}/archivers/unshield
CONFIGURE_ARGS+= --with-libunshield=${LOCALBASE}
.endif
.if defined(WITH_INNO)
CONFIGURE_ARGS+= --enable-inno
.endif
.if defined(WITH_VISE)
CONFIGURE_ARGS+= --enable-vise
.endif
.if defined(WITH_MSI)
CONFIGURE_ARGS+= --enable-msi --with-libgsf
LIB_DEPENDS+= gsf-1.114:${PORTSDIR}/devel/libgsf
.endif
.include <bsd.port.post.mk>
|