|
Lines 5-30
Link Here
|
| 5 |
# $FreeBSD: ports/archivers/orange/Makefile,v 1.13 2008/06/05 20:29:26 araujo Exp $ |
5 |
# $FreeBSD: ports/archivers/orange/Makefile,v 1.13 2008/06/05 20:29:26 araujo Exp $ |
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= orange |
8 |
PORTNAME= liborange |
| 9 |
PORTVERSION= 0.3 |
9 |
PORTVERSION= 0.3.2 |
| 10 |
PORTREVISION= 2 |
|
|
| 11 |
CATEGORIES= archivers |
10 |
CATEGORIES= archivers |
| 12 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
| 13 |
MASTER_SITE_SUBDIR= synce |
12 |
MASTER_SITE_SUBDIR= synce |
| 14 |
|
13 |
|
| 15 |
MAINTAINER= ports@logvinov.com |
14 |
MAINTAINER= ports@logvinov.com |
| 16 |
COMMENT= Extract Microsoft Cabinet files from self-extracting installers |
15 |
COMMENT= Library to extract CAB files from self-extracting installers |
| 17 |
|
16 |
|
| 18 |
LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \ |
17 |
OPTIONS= LIBSYNCE "Build with libsynce support" on \ |
| 19 |
rapi.2:${PORTSDIR}/palm/synce-librapi2 \ |
18 |
LIBDYNAMITE "Build with libdynamite support" on \ |
| 20 |
dynamite.0:${PORTSDIR}/archivers/libdynamite \ |
19 |
LIBUNSHIELD "Build with libunshield support" on \ |
| 21 |
unshield.0:${PORTSDIR}/archivers/unshield |
20 |
INNO "Build with expermential Inno Setup support" off \ |
|
|
21 |
VISE "Build with expermential VISE support" off \ |
| 22 |
MSI "Build with expermential MSI support" off |
| 22 |
|
23 |
|
| 23 |
USE_AUTOTOOLS= libtool:15 |
24 |
USE_AUTOTOOLS= libtool:15 |
| 24 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
| 25 |
USE_GNOME= gnometarget |
26 |
USE_GNOME= gnomehack gnometarget |
| 26 |
CONFIGURE_ARGS= --with-libsynce=${LOCALBASE} |
|
|
| 27 |
USE_ICONV= yes |
27 |
USE_ICONV= yes |
|
|
28 |
CFLAGS+= -I${LOCALBASE}/include |
| 29 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 30 |
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \ |
| 31 |
LDFLAGS="${LDFLAGS}" |
| 28 |
USE_LDCONFIG= yes |
32 |
USE_LDCONFIG= yes |
| 29 |
|
33 |
|
| 30 |
.include <bsd.port.mk> |
34 |
MAN1= orange.1 |
|
|
35 |
|
| 36 |
.include <bsd.port.pre.mk> |
| 37 |
|
| 38 |
.if !defined(WITH_LIBSYNCE) |
| 39 |
CONFIGURE_ARGS+= --without-libsynce |
| 40 |
.else |
| 41 |
LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce |
| 42 |
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE} |
| 43 |
.endif |
| 44 |
|
| 45 |
.if !defined(WITH_LIBDYNAMITE) |
| 46 |
CONFIGURE_ARGS+= --without-libdynamite |
| 47 |
.else |
| 48 |
LIB_DEPENDS+= dynamite.0:${PORTSDIR}/archivers/libdynamite |
| 49 |
CONFIGURE_ARGS+= --with-libdynamite=${LOCALBASE} |
| 50 |
.endif |
| 51 |
|
| 52 |
.if !defined(WITH_LIBUNSHIELD) |
| 53 |
CONFIGURE_ARGS+= --without-libunshield |
| 54 |
.else |
| 55 |
LIB_DEPENDS+= unshield.0:${PORTSDIR}/archivers/unshield |
| 56 |
CONFIGURE_ARGS+= --with-libunshield=${LOCALBASE} |
| 57 |
.endif |
| 58 |
|
| 59 |
.if defined(WITH_INNO) |
| 60 |
CONFIGURE_ARGS+= --enable-inno |
| 61 |
.endif |
| 62 |
|
| 63 |
.if defined(WITH_VISE) |
| 64 |
CONFIGURE_ARGS+= --enable-vise |
| 65 |
.endif |
| 66 |
|
| 67 |
.if defined(WITH_MSI) |
| 68 |
CONFIGURE_ARGS+= --enable-msi --with-libgsf |
| 69 |
LIB_DEPENDS+= gsf-1.114:${PORTSDIR}/devel/libgsf |
| 70 |
.endif |
| 71 |
|
| 72 |
.include <bsd.port.post.mk> |