2012-12-30 00:00:17 +01:00
|
|
|
# Created by: Sam Lawrance <boris@brooknet.com.au>
|
2005-01-14 01:13:20 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2008-06-17 23:47:05 +02:00
|
|
|
PORTNAME= liborange
|
2009-01-13 01:18:55 +01:00
|
|
|
PORTVERSION= 0.4
|
2014-06-05 21:49:16 +02:00
|
|
|
PORTREVISION= 2
|
2005-01-14 01:13:20 +01:00
|
|
|
CATEGORIES= archivers
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/synce/Orange/${PORTVERSION}
|
2005-01-14 01:13:20 +01:00
|
|
|
|
2013-02-20 17:08:58 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-06-17 23:47:05 +02:00
|
|
|
COMMENT= Library to extract CAB files from self-extracting installers
|
2005-01-14 01:13:20 +01:00
|
|
|
|
2008-08-07 10:16:53 +02:00
|
|
|
RUN_DEPENDS= cabextract:${PORTSDIR}/archivers/cabextract \
|
|
|
|
unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
|
2012-12-30 00:00:17 +01:00
|
|
|
OPTIONS_DEFINE= LIBSYNCE LIBDYNAMITE LIBUNSHIELD INNO VISE MSI
|
|
|
|
OPTIONS_DEFAULT= LIBSYNCE LIBDYNAMITE LIBUNSHIELD
|
|
|
|
LIBSYNCE_DESC= Build with libsynce support
|
|
|
|
LIBDYNAMITE_DESC= Build with libdynamite support
|
|
|
|
LIBUNSHIELD_DESC= Build with libunshield support
|
|
|
|
INNO_DESC= Build with expermential Inno Setup support
|
|
|
|
VISE_DESC= Build with expermential VISE support
|
|
|
|
MSI_DESC= Build with expermential MSI support
|
2005-01-14 01:13:20 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-06-05 21:49:16 +02:00
|
|
|
USES= iconv libtool pathfix pkgconfig
|
2008-06-17 23:47:05 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-04-10 11:48:07 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-01-14 01:13:20 +01:00
|
|
|
|
2014-07-03 21:06:07 +02:00
|
|
|
LIBSYNCE_LIB_DEPENDS= libsynce.so:${PORTSDIR}/palm/synce-libsynce
|
|
|
|
LIBSYNCE_CONFIGURE_WITH= libsynce
|
|
|
|
|
|
|
|
LIBDYNAMITE_LIB_DEPENDS= libdynamite.so:${PORTSDIR}/archivers/libdynamite
|
|
|
|
LIBDYNAMITE_CONFIGURE_WITH= libdynamite
|
|
|
|
|
|
|
|
LIBUNSHIELD_LIB_DEPENDS= libunshield.so:${PORTSDIR}/archivers/unshield
|
|
|
|
LIBUNSHIELD_CONFIGURE_WITH= libunshield
|
|
|
|
|
|
|
|
INNO_CONFIGURE_ENABLE= inno
|
|
|
|
|
|
|
|
VISE_CONFIGURE_ENABLE= vise
|
|
|
|
|
|
|
|
MSI_LIB_DEPENDS= libgsf-1.so.114:${PORTSDIR}/devel/libgsf
|
|
|
|
MSI_CONFIGURE_ENABLE= msi libgsf
|
|
|
|
|
2012-12-30 00:00:17 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2008-06-17 23:47:05 +02:00
|
|
|
|
2012-12-30 00:00:17 +01:00
|
|
|
.if ${PORT_OPTIONS:MLIBSYNCE}
|
2008-07-30 01:51:10 +02:00
|
|
|
REQUIRES+= libsynce
|
2008-06-17 23:47:05 +02:00
|
|
|
.endif
|
|
|
|
|
2012-12-30 00:00:17 +01:00
|
|
|
.if ${PORT_OPTIONS:MLIBDYNAMITE}
|
2008-07-30 01:51:10 +02:00
|
|
|
REQUIRES+= libdynamite
|
2008-06-17 23:47:05 +02:00
|
|
|
.endif
|
|
|
|
|
2012-12-30 00:00:17 +01:00
|
|
|
.if ${PORT_OPTIONS:MLIBUNSHIELD}
|
2008-07-30 01:51:10 +02:00
|
|
|
REQUIRES+= libunshield
|
2008-06-17 23:47:05 +02:00
|
|
|
.endif
|
|
|
|
|
2008-07-30 01:51:10 +02:00
|
|
|
post-patch:
|
|
|
|
.for req in ${REQUIRES}
|
|
|
|
@${REINPLACE_CMD} -e 's|${req}||' ${WRKSRC}/${PORTNAME}.pc.in
|
|
|
|
.endfor
|
|
|
|
|
2012-12-30 00:00:17 +01:00
|
|
|
.include <bsd.port.mk>
|