aboutsummaryrefslogtreecommitdiff
path: root/archivers/liborange
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-07-29 23:51:10 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-07-29 23:51:10 +0000
commit0bacf2c9d0da39d24f4d34ea4128765e23033b30 (patch)
tree3504e7061b59f75c47c8e347ccb452462144f9b9 /archivers/liborange
parent0e4619f40bb9d00a87af18bc8434aec7e3b60e75 (diff)
downloadports-0bacf2c9d0da39d24f4d34ea4128765e23033b30.tar.gz
ports-0bacf2c9d0da39d24f4d34ea4128765e23033b30.zip
- Fix build with LIBSYNCE, LIBDYNAMITE, LIBUNSHIELD options enabled
- Fix pkg-config file - Change WWW - Bump PORTREVISION PR: ports/126063 Submitted by: Alexander Logvinov <ports@logvinov.com> (maintainer)
Notes
Notes: svn path=/head/; revision=217831
Diffstat (limited to 'archivers/liborange')
-rw-r--r--archivers/liborange/Makefile15
-rw-r--r--archivers/liborange/pkg-descr2
2 files changed, 13 insertions, 4 deletions
diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile
index ce3c407b5f8a..e206256e1d46 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 <bsd.port.post.mk>
diff --git a/archivers/liborange/pkg-descr b/archivers/liborange/pkg-descr
index 22fdd4a03b78..85f75884809b 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/