From d421ea460fee3c2b2abbb6b6e5063d6bfe6eeea3 Mon Sep 17 00:00:00 2001 From: pav Date: Tue, 29 Jul 2008 23:51:10 +0000 Subject: - Fix build with LIBSYNCE, LIBDYNAMITE, LIBUNSHIELD options enabled - Fix pkg-config file - Change WWW - Bump PORTREVISION PR: ports/126063 Submitted by: Alexander Logvinov (maintainer) --- archivers/liborange/Makefile | 15 ++++++++++++--- archivers/liborange/pkg-descr | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'archivers') diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile index ce3c407..e206256 100644 --- a/archivers/liborange/Makefile +++ b/archivers/liborange/Makefile @@ -7,6 +7,7 @@ PORTNAME= liborange PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= SF MASTER_SITE_SUBDIR= synce @@ -37,23 +38,26 @@ MAN1= orange.1 .if !defined(WITH_LIBSYNCE) CONFIGURE_ARGS+= --without-libsynce +REQUIRES+= libsynce .else LIB_DEPENDS+= synce.0:${PORTSDIR}/palm/synce-libsynce -CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE} +CONFIGURE_ARGS+= --with-libsynce .endif .if !defined(WITH_LIBDYNAMITE) CONFIGURE_ARGS+= --without-libdynamite +REQUIRES+= libdynamite .else LIB_DEPENDS+= dynamite.0:${PORTSDIR}/archivers/libdynamite -CONFIGURE_ARGS+= --with-libdynamite=${LOCALBASE} +CONFIGURE_ARGS+= --with-libdynamite .endif .if !defined(WITH_LIBUNSHIELD) CONFIGURE_ARGS+= --without-libunshield +REQUIRES+= libunshield .else LIB_DEPENDS+= unshield.0:${PORTSDIR}/archivers/unshield -CONFIGURE_ARGS+= --with-libunshield=${LOCALBASE} +CONFIGURE_ARGS+= --with-libunshield .endif .if defined(WITH_INNO) @@ -69,4 +73,9 @@ CONFIGURE_ARGS+= --enable-msi --with-libgsf LIB_DEPENDS+= gsf-1.114:${PORTSDIR}/devel/libgsf .endif +post-patch: +.for req in ${REQUIRES} + @${REINPLACE_CMD} -e 's|${req}||' ${WRKSRC}/${PORTNAME}.pc.in +.endfor + .include diff --git a/archivers/liborange/pkg-descr b/archivers/liborange/pkg-descr index 22fdd4a..85f7588 100644 --- a/archivers/liborange/pkg-descr +++ b/archivers/liborange/pkg-descr @@ -4,4 +4,4 @@ Windows. Supported installers include VISE, InstallShield, Setup Factory and more. -WWW: http://synce.sourceforge.net/ +WWW: http://www.synce.org/moin/ -- cgit v1.1