diff options
-rw-r--r-- | archivers/liborange/Makefile | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile index d84e8f582b94..fc24adabd86a 100644 --- a/archivers/liborange/Makefile +++ b/archivers/liborange/Makefile @@ -16,17 +16,16 @@ RUN_DEPENDS= cabextract:${PORTSDIR}/archivers/cabextract \ 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 +LIBSYNCE_DESC= WinCE communication support via libsynce +LIBDYNAMITE_DESC= PKWARE data compression support via libdynamite +LIBUNSHIELD_DESC= InstallShield support via libunshield +INNO_DESC= Expermential Inno Setup support +VISE_DESC= Expermential VISE support +MSI_DESC= Expermential MSI support GNU_CONFIGURE= yes -USES= iconv libtool pathfix pkgconfig -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lgsf-1 +USES= iconv libtool localbase pathfix pkgconfig +LIBS+= -lgsf-1 USE_LDCONFIG= yes INSTALL_TARGET= install-strip @@ -34,12 +33,15 @@ CONFIGURE_ARGS+= --with-libgsf LIBSYNCE_LIB_DEPENDS= libsynce.so:${PORTSDIR}/palm/synce-libsynce LIBSYNCE_CONFIGURE_WITH= libsynce +LIBSYNCE_VARS= REQUIRES+=libsynce LIBDYNAMITE_LIB_DEPENDS= libdynamite.so:${PORTSDIR}/archivers/libdynamite LIBDYNAMITE_CONFIGURE_WITH= libdynamite +LIBDYNAMITE_VARS= REQUIRES+=libdynamite LIBUNSHIELD_LIB_DEPENDS= libunshield.so:${PORTSDIR}/archivers/unshield LIBUNSHIELD_CONFIGURE_WITH= libunshield +LIBUNSHIELD_VARS= REQUIRES+=libunshield INNO_CONFIGURE_ENABLE= inno @@ -47,20 +49,6 @@ VISE_CONFIGURE_ENABLE= vise MSI_CONFIGURE_ENABLE= msi -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MLIBSYNCE} -REQUIRES+= libsynce -.endif - -.if ${PORT_OPTIONS:MLIBDYNAMITE} -REQUIRES+= libdynamite -.endif - -.if ${PORT_OPTIONS:MLIBUNSHIELD} -REQUIRES+= libunshield -.endif - post-patch: .for req in ${REQUIRES} @${REINPLACE_CMD} -e 's|${req}||' ${WRKSRC}/${PORTNAME}.pc.in |